@notifee/react-native

@notifee/react-native / IOSForegroundPresentationOptions

Interface: IOSForegroundPresentationOptions

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.

Platform

ios

Properties

alert?

optional alert: boolean

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

App in foreground badge update

Defaults to true

banner?

optional banner: boolean

Present the notification as a banner

For iOS 13 and lower, will be equivalent to setting alert to true

Defaults to true

list?

optional list: boolean

Show the notification in Notification Center

For iOS 13 and lower, will be equivalent to setting alert to true

Defaults to true

sound?

optional sound: boolean

App in foreground notification sound

Defaults to true