Skip to content

Type Alias: NotificationOptions ​

NotificationOptions = object

Defined in: packages/expo-binary-module/src/types/notification.ts:61

Properties ​

actions? ​

optional actions?: NotificationAction[]

Defined in: packages/expo-binary-module/src/types/notification.ts:62


clickAction? ​

optional clickAction?: NotificationAction

Defined in: packages/expo-binary-module/src/types/notification.ts:65

What to do when notification body is pressed


id? ​

optional id?: number

Defined in: packages/expo-binary-module/src/types/notification.ts:70

Notification ID


ongoing? ​

optional ongoing?: boolean

Defined in: packages/expo-binary-module/src/types/notification.ts:73

Whether to persist the notification


progress? ​

optional progress?: object

Defined in: packages/expo-binary-module/src/types/notification.ts:76

Show a progress bar

current ​

current: number

indeterminate? ​

optional indeterminate?: boolean

max ​

max: number


text? ​

optional text?: string

Defined in: packages/expo-binary-module/src/types/notification.ts:83

Notification body


title? ​

optional title?: string

Defined in: packages/expo-binary-module/src/types/notification.ts:89

Notification title. Deafult: ${appName}: Foreground Service