Enumeration: AuthorizationStatus

Defined in: packages/react-native/src/types/Notification.ts:471

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.

Enumeration Members

AUTHORIZED

AUTHORIZED: 1

Defined in: packages/react-native/src/types/Notification.ts:488

The app is authorized to create notifications.

DENIED

DENIED: 0

Defined in: packages/react-native/src/types/Notification.ts:483

The app is not authorized to create notifications.

NOT_DETERMINED

NOT_DETERMINED: -1

Defined in: packages/react-native/src/types/Notification.ts:478

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.

Platform

ios

PROVISIONAL

PROVISIONAL: 2

Defined in: packages/react-native/src/types/Notification.ts:494

The app is currently authorized to post non-interrupting user notifications

Platform

ios iOS >= 12