Android 12 SDK Upgrade Guide
This guide describes relevant changes introduced in Android 12 (2021) and the required upgrade steps for your Braze Android SDK integration.
For a full migration guide of Android 12, see the Android Developer Documentation.
Braze SDK Compatibility
If you are targeting Android 12, you must use Braze Android SDK v13.1.2+. If you do not target Android 12 yet, upgrading is still recommended.
What happens if I don’t upgrade my Braze Android SDK?
- Due to a change in Android’s Closing System Dialogs, older versions of the Braze Android SDK will log warnings when receiving push notifications on devices running Android 12. This behavior occurs even if your app does not target Android 12.
- Changes in component exports, pending intents, notification trampolines may impact your ability to compile your app, or may prevent the Braze SDK from initializing. This behavior occurs only for apps targeting Android 12.
- Changes in custom push notifications have changed the layout for our new Android Inline Image Push feature. This behavior occurs only for apps targeting Android 12.