Skip to content

Push Notifications (PNs)

LeoTM edited this page Feb 22, 2022 · 44 revisions

Firebase Cloud Messaging (FCM)

...a messaging solution that lets you reliably send messages for free

...provides support for displaying basic notifications to users with minimal integration

...you can send data payloads (via a message) 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

https://github.com/invertase/react-native-firebase

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

...v6 has 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 because we were a game studio and we were finding other push notification and in-app messaging products to be very 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

...gives 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

Clone this wiki locally