You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got the same problem, it does not matter at all where in the code you try .requestPermission, it will always return false because there will be no Popup triggered in Android.
As soon as you manually allow Notifications in the App Settings in Android, .requestPermission will always return true
Hello! I would just like to comment that if you have problems with these permissions that have not been granted, you could check the android version of your project "@nativescript/android" to see if it is compatible, you can run ns info and validate the updated version of your android
Uh oh!
There was an error while loading. Please reload this page.
It appears that android13 (SDK33) now requires a runtime permission for setting local notifications:
https://developer.android.com/develop/ui/views/notifications/notification-permission#user-choice
I get this error when running the
LocalNotifications.schedule
method:Permission not granted.
.I've tried just adding this permission:
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
but nothing changes.If I grant notification permissions to the app via
App info > Permissions
then everything works fine again.The text was updated successfully, but these errors were encountered: