Releases: needle-mirror/com.unity.services.push-notifications
Releases · needle-mirror/com.unity.services.push-notifications
4.0.1
4.0.0
[4.0.0] - 2024-09-27
Changed
- Bumps the unity version to 2021.3
- Updated
com.unity.services.analytics
dependency to 6.0.1
4.0.0-pre.1
[4.0.0-pre.1] - 2023-09-05
Changed
- You can now only subscribe to OnNotificationReceived before calling RegisterForPushNotificationsAsync
- Once RegisterForPushNotificationsAsync completes, OnNotificationReceived will be invoked if the app was launched from a remote notification
- Updated
com.unity.services.analytics
dependency to 5.0.0 - Updated
com.unity.services.core
dependency to 1.10.1 - Added
com.unity.mobile.notifications
version2.2.0
as a dependency.
Fixed
- Behaviour when the app is launched from a push notification is now consistent between iOS and Android (incoming push notification data is broadcast after RegisterForPushNotificationsAsync flow is complete)
[3.0.1-pre.2] - 2023-08-15
Fixed
- Bug fix for PushNotificationsService's OnNotificationReceived not being called on IOS
- Bug fix where RegisterForPushNotificationsAsync is stuck when the user disables notification settings.
3.0.1-pre.1
[3.0.1-pre.1] - 2023-03-20
Fixed
- Android SDK Level 33 (Tiramisu) support now available.
- Added necessary post notification permission to manifest.
- Package will now ask for permission during initialization if required.
- External Dependency Manager for Unity (EDM4U) and Mobile Dependency Resolver (MDR) support now available. When either is installed:
- A new
PushSDKDependencies.xml
file is generated for them to use. InsertPushNotificationDependenciesIntoGradleScript
will not run to prevent duplication from gradle.
- A new
- Fixed errors appearing in the Editor Play Mode due to platform specific classes instantiating.
3.0.0-pre.1
[3.0.0-pre.1] - 2022-12-16
Fixed
Fixed a bug preventing the notificationOpened
event from being sent after opening a notification while the app was fully closed
Changes
- The following classes have been changed to
internal
:InsertPushNotificationDependenciesIntoGradleScript
IOSRichPushNotificationPostProcess
IOSBasicPushNotificationPostProcess
PushSettingsProvider
PushNotificationEditorGameService
PushNotificationAnalytics
- Moved
IPushNotificationsAnalytics
to it's own file. - Change
PushNotificationsService
to use theIPushNotificationsAnalytics
interface instead of
directly using thePushNotificationsAnalytics
class. - Bumped the Analytics SDK version from
4.0.0-pre.2
to4.3.0
- Bumped the Core Package SDK version from
1.2.0
to1.4.0
- Dashboard project link now available in settings panel
- Renamed the following fields in
PushNotificationSettings
(Values will be retained):androidApiKey
->firebaseWebApiKey
androidSenderId
->firebaseProjectNumber
androidApplicationId
->firebaseAppID
androidProjectId
->firebaseProjectID
Removed
- Removed the deprecated
PushNotifications
class. - Removed obsolete
PushNotificationSettings
properties.
Known Issues
- Notifications received while the app is opened will automatically trigger the
notificationOpened
event even before they are opened didLaunch
property sent withnotificationOpened
event not fully accurate- Devices running Android 13 will not receive notifications until the player grants permission. Permission won’t be requested until the device receives a notification for the first time.
2.0.0-pre.1
[1.1.0-pre.2] - 2022-03-16
Fixed
- Android plugin now uses a named Firebase instance to avoid clashing with any default instances already in the project.
2.0.0-pre.2
[2.0.0-pre.2] - 2022-05-09
Fixed
- Fixed a documentation bug
- Fixed a compile issue that could occur if custom Editor classes were added to a Unity project
1.1.0-pre.2
[1.1.0-pre.2] - 2022-03-16
Fixed
- Android plugin now uses a named Firebase instance to avoid clashing with any default instances already in the project.
1.1.0-pre.1
[1.1.0-pre.1] - 2022-01-21
New Features
- The package is now configurable in the Project Settings UI. This is the recommended way of configuring the SDK moving forwards. The previous method of providing a configuration to the
RegisterForPushNotificationsAsync
method is now deprecated, although will continue to function for the moment. (Note that if both code and UI settings are provided, the code settings will override the UI settings). - The dependency on Unity Analytics has been updated to support version 3.0.0 with the new privacy flow. You will need to implement this as described in the Analytics documentation before push notification events will be sent.
Fixed
- Android plugin now supports Android API versions 16+
1.0.0-pre.4
[1.0.0-pre.4] - 2021-08-26
Fixed
- notificationOpened analytics events will work correctly on Android
- The host Android app will not forceably reboot if opened from background from a notification
- Updated analytics integration so that the userCountry is correctly reported for push events
- Documentation improvements