A React Native module for Firebase Cloud Messaging (FCM) and local notifications, now deprecated in favor of react-native-firebase.
React Native FCM is a React Native module that integrates Firebase Cloud Messaging (FCM) and local notification functionality into mobile apps. It enables developers to send and receive push notifications, schedule local alerts, and handle notification interactions across iOS and Android platforms. The module abstracts native Firebase SDK complexities, providing a consistent JavaScript interface.
React Native developers building mobile applications that require push notifications or local alerts, particularly those using Firebase as their backend service.
Developers chose React Native FCM for its direct integration with Firebase Cloud Messaging, support for both remote and local notifications, and detailed platform-specific configuration guides. It offered a unified solution before the broader react-native-firebase library became the recommended alternative.
react native module for firebase cloud messaging and local notification
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a single JavaScript interface for both Firebase Cloud Messaging and local notifications, simplifying code across iOS and Android as shown in the example project.
Supports custom_notification in data messages for advanced Android features like priority and groups, allowing workarounds for FCM limitations.
Includes extensive platform-specific setup steps, such as manual linking for iOS CocoaPods and Android manifest edits, helping avoid common pitfalls.
Manages notification behavior in different app states with events like FCMNotificationReceived, though behavior varies by platform as noted in the README.
The maintainer has stopped active development, recommending migration to react-native-firebase, meaning no new features or bug fixes beyond community PRs.
Requires tedious configuration like manual linking for iOS with CocoaPods and multiple Android file edits, increasing integration time and error risk.
Has a smaller community than react-native-firebase, with outdated documentation and potential compatibility issues with newer React Native versions.
Admits behavioral differences between iOS and Android for notifications, such as foreground handling, requiring extra work to ensure cross-platform consistency.