com.unity.mobile.notifications 1.0.0-preview.17

com.unity.mobile.notifications

Notes: processedReleased July 10, 2019

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2018.3

Package Dependencies

No dependency metadata provided.

šŸ“ˆ Improvements

  • [Android] Added support for notification groups:
  • - Set `Group` property to group multiple notifications in a single thread.
  • - Enable `GroupSummary`on a notification to use it as the summary notification for it's group.
  • - `GroupAlertBehaviour` can be used to override the alert behaviour for all notifications in a group.
  • [Android] Added a `SortKey` property for Android.
  • - Used to lexicographically order this notification among other notifications from the same package or the same notification group.
  • [Android] Changed ā€˜GetLastIntentData’ to ā€˜GetLastNotificationIntent’, it nows returns a `AndroidNotificationIntentData` object (which encapsulates the received `AndroidNotification` and it's `Channel` and `Id` fields) instead of just a string:
  • - `OnNotificationReceived` now returns `AndroidNotificationIntentData`.
  • - Arbitrary data can be stored in the `AndroidNotification.intentData` field.
  • [iOS] Added `GetLastNotification()` to `iOSNotificationCenter` :
  • - Can be used to retrieve the notification which was used to open the app.
  • - If any new notifications are received while the app is active they will override the original one.
  • [iOS] Exposed additional `iOSNotificationSettings` properties:
  • - `ShowPreviewsSetting`indicates whether the app can a preview of the notification's contenton the lock screen.
  • - `AlertStyle` indicates the type of alerts the user has authorized (`Banner`, `Alert` or `None`).
  • ### Fixes:
  • - [Android] Canceling scheduled notifications now works correctly when the app is restarted.
  • - [iOS] Subscribing to OnNotificationReceived on iOS should now work, even if no other notification was called