1.19.0
Core
- Batch now compiles and targets SDK 32 (Android 12L).
- Important change: Batch now declares to use the
android.permission.POST_NOTIFICATIONS
permission in its manifest. If you want to remove it, add<uses-permission android:name="android.permission.POST_NOTIFICATIONS" tools:node="remove" />
in your app's AndroidManifest. - Fixed some rare ANRs produced when receiving push.
- Identical push messages sent twice by FCM will now only be displayed once.
- Batch will now try to display FCM high priority push notifications directly rather than scheduling a Job.
Event Dispatchers
- Added
getName
andgetVersion
onBatchEventDispatcher
. If you are using a Batch dispatcher plugin, please update it.
Messaging
- Added global frequency capping management for in-app campaigns.
- Improved the way In-App campaigns are triggered.
- Added just-in-time verification for in-app campaigns.
Inbox
- Added the ability to disable the filtering of silent notifications on
BatchInboxFetcher
using thesetFilterSilentNotifications
method. - Important change: Silent notifications are now filtered by default: use the new property if you relied on the previous behaviour.
This brings the Android SDK in line with its iOS counterpart, which has always filtered silent notifications as expected.