Skip to content

[@nativescript/local-notifications] [Android] Requires runtime permission dialog to allow notifications. #336

@7ammer

Description

@7ammer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions