Enumeration: AndroidDefaults

Defined in: packages/react-native/src/types/NotificationAndroid.ts:1169

On devices which do not support notification channels (API Level < 26), the notification by default will use all methods to alert the user (depending on the importance).

To override the default behaviour, provide an array of defaults to the notification.

On API Levels >= 26, this has no effect and notifications will use the channel behaviour.

Platform

android API Level < 26

Enumeration Members

ALL

ALL: -1

Defined in: packages/react-native/src/types/NotificationAndroid.ts:1173

All options will be used, where possible.

LIGHTS

LIGHTS: 4

Defined in: packages/react-native/src/types/NotificationAndroid.ts:1178

The notification will use lights to alert the user.

SOUND

SOUND: 1

Defined in: packages/react-native/src/types/NotificationAndroid.ts:1183

The notification will use sound to alert the user.

VIBRATE

VIBRATE: 2

Defined in: packages/react-native/src/types/NotificationAndroid.ts:1188

The notification will vibrate to alert the user.