Skip to content

Type Alias: NotificationAction ​

NotificationAction = object

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

Properties ​

id ​

id: "stop" | "open"

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

Determines what to do when the action button is clicked

Accepted values:

  • stop: stop binary and the foreground service along with the persistent notification
  • open: open the app or the specified uri

title ​

title: string

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

Text to be displayed on the action button


uri? ​

optional uri?: string

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

URI to open when id is "open"