Firebase In-App Messaging package for React Native.
Access the firebase export from the inAppMessaging package:
inAppMessaging
import { firebase } from '@react-native-firebase/in-app-messaging';// firebase.inAppMessaging().X Copy
import { firebase } from '@react-native-firebase/in-app-messaging';// firebase.inAppMessaging().X
Using the default export from the in-app-messaging package:
in-app-messaging
import inAppMessaging from '@react-native-firebase/in-app-messaging';// inAppMessaging().X Copy
import inAppMessaging from '@react-native-firebase/in-app-messaging';// inAppMessaging().X
Using the default export from the app package:
app
import firebase from '@react-native-firebase/app';import '@react-native-firebase/in-app-messaging';// firebase.inAppMessaging().X Copy
import firebase from '@react-native-firebase/app';import '@react-native-firebase/in-app-messaging';// firebase.inAppMessaging().X
The Firebase In-App Messaging service interface.
Firebase In-App Messaging package for React Native.
Example 1
Access the firebase export from the
inAppMessagingpackage:Example 2
Using the default export from the
in-app-messagingpackage:Example 3
Using the default export from the
apppackage:Firebase
in-app-messaging