Skip to content

Android 13 Notification Permission Handling

Alexander Boldyrev edited this page Oct 25, 2024 · 2 revisions

Starting from Android 13, Google requires to ask user for notification permission. More information can be found on official Android documentation.

MobileMessaging plugin will not automatically ask user for Push Notification Permission starting from Android 13+. To invoke registration for these permissions, use method registerForAndroidRemoteNotifications(), once you have an Activity initialized.

InfobipMobilemessaging.registerForAndroidRemoteNotifications();

Notice:

If user does not accept Notification Permission Request, he won't be able to receive push notifications. In order to enable push notifications, user needs to be redirected to the Phone Settings and needs to enable Notifications permission.

Clone this wiki locally