Skip to content

✨ [firebase_messaging] check permission status #17390

Open
@lukepighetti

Description

@lukepighetti

I don't think it's possible to check current permission status in firebase_messaging. the purpose is to check if the user can be asked to give permission by the operating system so you can decide whether or not to show a permission request.

I should note that you can do this with permission_handler package but I think it's reasonable to expect firebase_messaging to have an opinionated permissions status checking method

also, there is FirebaseMessaging.instance.getNotificationSettings() but it doesn't appear to show if the user can be asked for notification permissions in app or if they need to be sent to app settings

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions