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 Android 12 migration guide, see the Android developer documentation.
Braze SDK compatibility
If you target 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, and 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.
New Stuff!