'React Native Push notification In Chat Application
Currently, I'm building one chat application using react native amplify, it works fine when both users are online and are on the same screen ( stack screen to be specific ), I'm able to show push notifications to users for the new message using a react-native-push-notification package (local push notification). I want to extend this functionality for app running in the background (similar to Whatsapp) and show push notifications if any new message comes for the user. I attempt to do so using FCM service, but found it's might not be best for messaging, and mostly used for campaigns. Any better idea, how to do this?
Solution 1:[1]
You can take a look at react-native-push-notification and OneSignal libraries
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Tarik |
