react-native-notify-kit

react-native-notify-kit / IOSForegroundPresentationOptions

Interface: IOSForegroundPresentationOptions

Defined in: packages/react-native/src/types/NotificationIOS.ts:152

An interface to customise how notifications are shown when the app is in the foreground.

By default, Notify Kit will show iOS notifications in heads-up mode if your app is currently in the foreground.

View the Foreground Notifications to learn more.

Platform

ios

Properties

alert?

optional alert?: boolean

Defined in: packages/react-native/src/types/NotificationIOS.ts:159

App in foreground dialog box which indicates when a decision has to be made

Defaults to true

Deprecated

Use banner and list instead

badge?

optional badge?: boolean

Defined in: packages/react-native/src/types/NotificationIOS.ts:173

App in foreground badge update

Defaults to true

banner?

optional banner?: boolean

Defined in: packages/react-native/src/types/NotificationIOS.ts:180

Present the notification as a banner

Defaults to true

list?

optional list?: boolean

Defined in: packages/react-native/src/types/NotificationIOS.ts:187

Show the notification in Notification Center

Defaults to true

sound?

optional sound?: boolean

Defined in: packages/react-native/src/types/NotificationIOS.ts:166

App in foreground notification sound

Defaults to true