feat(pushnotifications): add support for Android 13 permissions
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
@jcesarmobile is there a plan to merge this? notifications are not at all working on SDK 33.
Please, don’t ping me.
see https://github.com/ionic-team/capacitor-plugins/pull/1189#issuecomment-1262678288
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