React Native Android GCM (Google Cloud Messaging)

React Native currently supports push notifications in iOS. Setting this up seems simple, but achieving the same functionality in Android looks a lot harder. I currently don't see anything in the docs regarding setting up GCM (Google push notification service) in React Native. only the module that I saw for GCM only allows the service on iOS. How can I get GCM in my React Native Android app?

+5
source share
2 answers

This module looks like it can provide the functionality of Google Cloud Messaging so far until Facebook releases the one that is associated with the core React Native package.

https://github.com/oney/react-native-gcm-android

+3
source

Here is another github push project for android and ios:

https://github.com/zo0r/react-native-push-notification

+2
source

Source: https://habr.com/ru/post/1233555/


All Articles