react-native-notify-kit / IOSForegroundPresentationOptions
Interface: IOSForegroundPresentationOptions
Defined in: packages/react-native/src/types/NotificationIOS.ts:157
An interface to customise how notifications are shown when the app is in the foreground.
By default, Notifee will show iOS notifications in heads-up mode if your app is currently in the foreground.
View the Foreground Notifications to learn more.
alert?
optionalalert:boolean
Defined in: packages/react-native/src/types/NotificationIOS.ts:164
App in foreground dialog box which indicates when a decision has to be made
Defaults to true
badge?
optionalbadge:boolean
Defined in: packages/react-native/src/types/NotificationIOS.ts:178
App in foreground badge update
Defaults to true
banner?
optionalbanner:boolean
Defined in: packages/react-native/src/types/NotificationIOS.ts:187
Present the notification as a banner
For iOS 13 and lower, will be equivalent to setting alert to true
Defaults to true
list?
optionallist:boolean
Defined in: packages/react-native/src/types/NotificationIOS.ts:196
Show the notification in Notification Center
For iOS 13 and lower, will be equivalent to setting alert to true
Defaults to true
sound?
optionalsound:boolean
Defined in: packages/react-native/src/types/NotificationIOS.ts:171
App in foreground notification sound
Defaults to true
