-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
No working POST_NOTIFICATIONS #493
Comments
If you don't implement the error callback, you won't know if the reason that the success callback is not being called is because the error callback is: |
POST_NOTIFICATIONS always returns DENIED_ALWAYS when targeting API 33 in Android 11, even when the notification permission is granted. (which is the default, on Android 12 and below it doesn't prompt for permission because you can always receive push notifications.) Works in Android 13 API 33, no problems. It triggers the prompt on first install, then the status is correct. |
I can reproduce the same outcome: building with API 33 on device running Android 11, the permission result from Android is |
cordova -v: 11.0.0
"android-minSdkVersion" value="22"
"android-targetSdkVersion" value="31"
"android-compileSdkVersion" value="31"
The text was updated successfully, but these errors were encountered: