capacitor-plugins icon indicating copy to clipboard operation
capacitor-plugins copied to clipboard

feat(pushnotifications): add support for Android 13 permissions

Open masimplo opened this issue 3 years ago • 2 comments

This adds support for explicitly checking and requesting POST_NOTIFICATIONS permissions for Android 13 and above (SDK 33)

Tested it on Android 13 and works as expected. Android < 13 works as previously.

The current issue that this resolves is that when targeting SDK 32 then the permission request dialog is triggered at application launch and not when requested on an Android device running Android 13. Targeting SDK 33 does not ask for the permission at all.

Resolves #1135

masimplo avatar Sep 20 '22 14:09 masimplo

@jcesarmobile is there a plan to merge this? notifications are not at all working on SDK 33.

mahendraHegde avatar Oct 09 '22 12:10 mahendraHegde

Please, don’t ping me.

see https://github.com/ionic-team/capacitor-plugins/pull/1189#issuecomment-1262678288

jcesarmobile avatar Oct 09 '22 12:10 jcesarmobile

closing in favor of https://github.com/ionic-team/capacitor-plugins/pull/1463 as this one includes changes for local-notifications and the push notifications code is incomplete

jcesarmobile avatar Mar 13 '23 17:03 jcesarmobile