-
-
Notifications
You must be signed in to change notification settings - Fork 29
Push Notifications (PNs)
...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
...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
- https://onesignal.com/blog/firebase-vs-onesignal
- https://documentation.onesignal.com/docs/react-native-sdk-setup
- https://github.com/OneSignal/react-native-onesignal/tree/main/examples/RNOneSignalTS (classes)
...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
- https://notifee.app/react-native/docs/integrations/fcm
- https://notifee.app/react-native/docs/integrations/onesignal
- https://github.com/invertase/notifee
- Specific Android/iOS features
handle all the aspects of PNs, including remote/local notifications, interactive notifications, silent notifications, and more
all native iOS notifications features supported