Request Runtime Notification Permission on Android

Android 13 and later require a specific runtime permission to display notifications. Your app can’t display notifications until the user grants this permission. For more information, see Request runtime permissions on the Android Developers website.

To notify the SDK that the user accepted the request to display notifications, use this code.

1PushFeature.requestSdk { pushFeature ->
2    pushFeature.getPushMessageManager().enablePush()
3}