Skip to content

Push Notifications (PNs)

LeoTM edited this page Jul 21, 2022 · 44 revisions

Firebase Cloud Messaging (FCM)

...reliable, free

...basic notifications w minimal integration

...can send data payloads (via a msg) to a device for a specific application; each msg can transfer a payload of up to 4KB to a client

...also provides features to build basic notifications from the Firebase console, versatile message targeting, client-to-client communication and web notifications support

> ...for more advanced notifications, we recommend using our separate local notifications package Notifee

...a collection of official RN modules connecting you to Firebase services

...v6 been re-created from the ground up, with a heavy focus on testing, docs & ft compatibility with the Firebase SDKs

...also been working closely with the Firebase team to ensure all module APIs have been approved before being released

...also ensured the release is compatible with some of the popular tooling in the RN community, like autolinking & TS

...v6 also brings support for previously unsupported modules, like Firebase ML

OneSignal

...originally built OneSignal cos were game studio and finding other PN and in-app messaging products v limited, unreliable, lacking good SDKs, or expensive

...aim to offer a better free service than Firebase and to also have paid features for companies that need things like deeper analytics, integrations with third-party systems, etc

Notifee

...bringing local notification support, doesn't integrate with any 3rd party messaging services, giving devs greater flexibility on how notifications are managed and integrated w new/existing apps

...successor to the notifications module in React Native Firebase v5. The entire library has been reworked from the ground up focusing on new features, testing, documentation and device compatibility

  • Specific Android/iOS features

RN Notifications

handle all the aspects of PNs, including remote/local notifications, interactive notifications, silent notifications, and more

all native iOS notifications features supported

https://github.com/wix/react-native-notifications

Clone this wiki locally