My RN mobile app works with Firebase as a Web App. Everything works fine. Now I need to add the push notifications functionality to my mobile app. I have read several articles about push notifications for RN apps:
- https://blog.logrocket.com/react-native-push-notifications-firebase-cloud-messaging/
- https://medium.com/alameda-dev/react-native-push-notifications-with-firebase-d23ed0dfb3ae
- https://enappd.com/blog/firebase-push-notifications-in-react-native/81/
Mainly all articles describe a specific configuration for Android.
My question is, can I use web push notifications in my mobile RN app as described here: https://firebase.google.com/docs/cloud-messaging/js/client ? Or should I register a separate application for Android and iOS in my Firebase project and add to my RN project platform-specific files (AndroidManifest.xml, google-services.json, build.gradle, etc)?