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

Support notification permission on Android 13+ #777

Closed
jfougere opened this issue Nov 7, 2022 · 0 comments
Closed

Support notification permission on Android 13+ #777

jfougere opened this issue Nov 7, 2022 · 0 comments

Comments

@jfougere
Copy link

jfougere commented Nov 7, 2022

Feature request

Starting from SDK 33 (Android 13) it seems now that a runtime permission is necessary to manage notifications.
See https://developer.android.com/develop/ui/views/notifications/notification-permission

Targeting SDK 33 with current version of the plugin leave the notification permission to off without any possibility to enable it even manually via settings menu.

Proposed solution:

  • Add android.permission.POST_NOTIFICATIONS in the manifest
  • Implement grantPermission method that was reserved to iOS before and ask for this runtime permission if the SDK is 33+
@dpa99c dpa99c closed this as completed in 3c184ee Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant