- Create an RN Application with the new package (ex: com.sample.chat) app for the android app.
- Create an FCM Secret Key with the name of the app package created (point 1). You can see here to generate the FCM secret key https://documentation.qiscus.com/chat-sdk-android/push-notifications#step-2-get-fcm-secret-key-in-firebase-console
- Replace google-services.json with the new file are you generated from firebase
-
Set the FCM Secret Key on the Qiscus SDK Dashboard.
https://documentation.qiscus.com/chat-sdk-android/push-notifications#step-3-setup-fcm-server-key-in-the-qiscus-dashboardIf those things have already been done and Notifications have appeared, you can clear the cache by doing `npm run clean` and uninstalling the previous application. Last step is react-native run-android`