Replies: 7 comments
-
We are currently extracting this functionality from React Native into https://github.com/react-native-community/react-native-push-notification-ios Would you be able to lead the effort to bring the Android version into the react-native-community and possibly building one library to handle push notifications for both platforms? |
Beta Was this translation helpful? Give feedback.
-
you should check react-native-firebase for this |
Beta Was this translation helpful? Give feedback.
-
@sibelius I mentioned that in the issue description. I don't think RN should rely on third parties with freemium models for Android push notifications. @cpojer So is the preferred option from my description the third one, to have a unified API, |
Beta Was this translation helpful? Give feedback.
-
firebase is de facto solution for android push GCM is deprecated, everything now is FCM, you can use it for free forever Google does not have any other option |
Beta Was this translation helpful? Give feedback.
-
Thanks, I didn't know that. Looks like GCM will be deprecated 4/11/2019. That means that the unified PushNotification API will only need to support FCM. |
Beta Was this translation helpful? Give feedback.
-
I contributed the FCM support PR for react-native-push-notification and I
use it in production. Glad to belp a RNC initiative for that support.
…On Fri, Mar 29, 2019 at 5:41 PM gzzo ***@***.***> wrote:
Thanks, I didn't know that. Looks like GCM will be deprecated 4/11/2019.
That means that the unified PushNotification API will only need to support
FCM.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#114 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALov_8Udc5aRMnUq-rDZsnm7y2QDoSApks5vboh7gaJpZM4cS7cE>
.
|
Beta Was this translation helpful? Give feedback.
-
@gzzo Feel free to open a PR on push-notification-ios |
Beta Was this translation helpful? Give feedback.
-
Introduction
PushNotificationIOS works perfectly on iOS. React Native should support push notifications on Android as well.
The Core of It
It looks like the go-to library for Android support has been react-native-push-notification. However, it looks like that repository isn't maintained anymore and may have been abandoned.
I think it's reasonable to expect developers to want push notification support on both platforms mostly out-of-the-box without having to resort to third parties. There's several third parties with freemium react-native support (Firebase, OneSignal, Pusher).
Discussion points
Options:
Beta Was this translation helpful? Give feedback.
All reactions