Configure Marketing Cloud Engagement
Runtime Toggles
Request Push Notification Permission on Android
Event Tracking
Handle URLs
Data Protection and Privacy
Changelog
Android 13 and later require a runtime permission to display notifications. This change impacts all applications that run on Android 13 or later. Your app can’t display notifications until the user grants this permission. For more information, see Android Developers: Request runtime permissions.
After the user accepts the request to display notifications, notify the SDK by using this code.
1SFMCSdk.requestSdk { sdk ->
2 sdk.mp {
3 it.pushMessageManager.enablePush()
4 }
5}