react-native-notify-kit / FcmConfig
Type Alias: FcmConfig
FcmConfig =
object
Defined in: packages/react-native/src/fcm/types.ts:23
Configuration for handleFcmMessage. Call setFcmConfig once
at app startup (typically in index.js before registerComponent).
defaultChannelId?
optionaldefaultChannelId?:string
Defined in: packages/react-native/src/fcm/types.ts:30
Default channelId used when notifee_options.android.channelId is absent.
If this is also absent and the payload has no channelId,
displayNotification will throw on Android — same behavior as calling
displayNotification without a channel.
defaultPressAction?
optionaldefaultPressAction?:object
Defined in: packages/react-native/src/fcm/types.ts:36
Default pressAction when notifee_options.android.pressAction is absent.
Mirrors the existing behavior: { id: 'default', launchActivity: 'default' }.
fallbackBehavior?
optionalfallbackBehavior?:"display"|"ignore"
Defined in: packages/react-native/src/fcm/types.ts:46
What to do when remoteMessage.data.notifee_options is absent entirely.
'display': build a minimal notification fromremoteMessage.notificationtitle/body (ordata.title/data.bodyas a fallback). UsesdefaultChannelId.'ignore': returnnullwithout displaying anything.
ios?
optionalios?:object
Defined in: packages/react-native/src/fcm/types.ts:49
iOS-specific options.
