Android SDK Changelog
List of updates to the Android SDK.
1.8.1
Fixed
Notification destination routing now behaves the same whether the app was foregrounded, backgrounded, or terminated.
Improved delivery reliability for subscription and analytics events during network or server disruptions. Token rotations are now sent immediately.
Deprecated
For self-managed
FirebaseMessagingServiceintegrations,handleOnMessageReceived(message)andhandleOnNewToken(token)are deprecated in favor of theContextoverloadshandleOnMessageReceived(context, message)andhandleOnNewToken(context, token). TheContextoverloads are required to deliver pushes to a terminated app; the older forms cannot re-initialize a cold-started process.
1.7.0
Adds support for Catalog
RATE_ITEMandCOMPLETE_ITEMactions. See the Catalog Documentation for more information.
1.3.0
Added
Added support for Live Activities on Android.
Updated
Updates
PNNotification.metastructure to allow more developer friendly value access patterns.
Live Activities
PushSDK.LiveActivities.start(activityId: String, handler: String, contentState: ContentState)Locally starts a Live Activity notification and registers the current subscriber to receive updates for the provided
activityIdandhandlercombination.
PushSDK.LiveActivities.register(handler: PNLiveActivityHandler)Registers the provided
handlerfor remote start capability and automatically handles update registrations when an activity is started via push.
PushSDK.LiveActivities.remove(activityId: String)Ends the Live Activity notification and removes it from view.
PushSDK.LiveActivities.removeAll()Ends all active Live Activity notifications and removes them from view.
1.1.17
Added
Added support for pausing and resuming subscriber push notifications.
New Properties and Methods
PushSDK.PushNotifications.isPaused- A boolean property indicating the subscriber's notifications are currently paused or not.PushSDK.PushNotifications.pause()- Will pause a subscriber's ability to receive notifications.PushSDK.PushNotifications.resume()- Will resume a subscriber's ability to receive notifications.
Moved / Deprecated Properties and Methods
PushSDK.UserProfile.isSubscribedhas been moved toPushSDK.PushNotifications.isSubscribedand will now display a deprecation warning.PushSDK.UserProfile.isEligibleToPrompthas been moved toPushSDK.PushNotifications.isEligibleToPromptand will now display a deprecation warning.PushSDK.showNativeNotificationPermissionPrompt()has been aliased toPushSDK.PushNotifications.showPermissionPrompt().PushSDK.UserProfile.revertUserDeletionwill now warn and will be removed in a future release.
Closed Beta Releases
1.0.1
Added
Added default notification small icon for use when not provided via the notification request.
Updated
Expanded automatic badge clearing capability for more Android versions.
Optimized HTTP request handling and network availability checks.
Fixed
Fixed an issue with notification small icon transparency handling.
Fixed an issue that could cause multiple invocations of permission request.
Last updated