Open
Description
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