-
-
Notifications
You must be signed in to change notification settings - Fork 50
[messaging] requestPermissions on Android 13 #159
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
Comments
HI, Did you tried to delayed the permission request with |
Thanks for the tip, @kefahB, but even adding a 5 second delay did not make any difference. It seems like the issue is the type of |
Did you installed SDK 33 ? if not begin with this first and then if it doesn't work try to set |
I had already installed SDK 33, but compileSdk 33 in app.gradle was the key. It works now, thanks! |
I'm running into issues with requestPermission on Android 13.
in app.gradle
targetSdkVersion 33
in manifest
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
in package.json
I have this code:
main.ts
some.service.ts
In another method:
Then I have "some.component.ts" using the "some.service.ts", and I get this error
It points to this code (index.android.js:258:0):
This is working fine in earlier Android versions. (also without the app.gradle and manifest changes).
Any tips on how to solve this?
I checked two other cases #125 and #144, but they seemed to have other issues.
The text was updated successfully, but these errors were encountered: