AuthorizationStatus
enum
An enum representing the notification authorization status for this app on the device.
Value is truthy if authorized, compare against an exact status (e.g. iOS PROVISIONAL) for a more granular status.
Example:
firebase.messaging.AuthorizationStatus.NOT_DETERMINED;
Members
AUTHORIZED</>
The app is authorized to create notifications.
DENIED</>
The app is not authorized to create notifications.
NOT_DETERMINED</>
The app user has not yet chosen whether to allow the application to create notifications. Usually
this status is returned prior to the first call of requestPermission
.
PROVISIONAL</>
The app is currently authorized to post non-interrupting user notifications