How to enable POST_NOTIFICATIONS permission for android 13 - ionic react app

We are using ionic 6 - reactjs for our project. currently we are facing issue in android push notifications , specifically in android 13 . in android 12 push notifications are working fine.
heard about the new changes in the android 13 regarding the push notification.

Need to know the steps to achieve notification prompt in the android 13. (ionic6 - react Project). we have already declare the permission in the app’s manifest file.

need to know the remaining steps associated with it.

Need to show the notification prompt on start of the app.

The POST_NOTIFICATIONS permission is only supported with Capacitor 5 since you need API level 33 (see my comment here). You then only need to call the requestPermissions(...) method once it is published.

1 Like