0

I tested the inn-app message service when I first installed it. It worked on both android and ios. After a few days, I sent a real inn-app message, but it did not appear on the devices. When I tested it again, it didn't work this time. Why does this problem occur? How can I fix it?

"dependencies": {
    "@react-native-firebase/analytics": "^16.4.6",
    "@react-native-firebase/app": "^16.4.6",
    "@react-native-firebase/in-app-messaging": "16.4.6",
    "@react-native-firebase/messaging": "^16.4.6",
},

index.js

import { AppRegistry } from "react-native"
import App from "./App"
import { name as appName } from "./app.json"
import inAppMessaging from '@react-native-firebase/in-app-messaging'

export async function bootstrap() {
    await inAppMessaging().setMessagesDisplaySuppressed(true);
}
bootstrap()


AppRegistry.registerComponent(appName, () => App)
Nemesis
  • 299
  • 1
  • 7

0 Answers0