react-native-notify-kit / AuthorizationStatus
Enumeration: AuthorizationStatus
Defined in: packages/react-native/src/types/Notification.ts:502
An enum representing the notification authorization status for this app on the device.
Value is greater than 0 if authorized, compare against an exact status (e.g. PROVISIONAL) for a more granular status.
AUTHORIZED
AUTHORIZED:
1
Defined in: packages/react-native/src/types/Notification.ts:521
The app is authorized to create notifications.
DENIED
DENIED:
0
Defined in: packages/react-native/src/types/Notification.ts:516
The app is not authorized to create notifications.
NOT_DETERMINED
NOT_DETERMINED:
-1
Defined in: packages/react-native/src/types/Notification.ts:511
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.
On iOS, this is based on the native UNAuthorizationStatusNotDetermined.
On Android 13+ (API 33+), this is returned when the POST_NOTIFICATIONS permission has not yet
been requested via requestPermission().
PROVISIONAL
PROVISIONAL:
2
Defined in: packages/react-native/src/types/Notification.ts:527
The app is currently authorized to post non-interrupting user notifications
