1.19.2
Core
- Batch now compiles with and targets SDK 33 (Android 13).
- Improved support for Android 13 Tiramisu.
- Added a new API:
Batch.Push.requestNotificationPermission(context)
. This allows you to request for the new notification permission introduced in Android 13. See the documentation for more info. - Fixed an issue where
BatchNotificationChannelsManager.openSystemChannelSettings(context)
wasn't working with an application context.
Actions
- Added
batch.android_smart_reoptin
, which asks the user the notification permission or redirect to the notification settings. - Added
batch.android_redirect_settings
, which redirects the user to the notification settings.