Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pushnotifications): add support for Android 13 permissions #1190

Closed
wants to merge 1 commit into from

Conversation

masimplo
Copy link
Contributor

@masimplo masimplo commented Sep 20, 2022

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

Copy link

@clairebingham clairebingham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, might just want to request reviews from those have correct permissions! thanks again for adding.

@mahendraHegde

This comment was marked as abuse.

@jcesarmobile
Copy link
Member

Please, don’t ping me.

see #1189 (comment)

@ionic-team ionic-team locked as off-topic and limited conversation to collaborators Oct 9, 2022
@jcesarmobile
Copy link
Member

closing in favor of #1463 as this one includes changes for local-notifications and the push notifications code is incomplete

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Push Notifications: Android 13 requires POST_NOTIFICATIONS permission
4 participants