UNPKG

@react-native-firebase/messaging

Version:

React Native Firebase - React Native Firebase provides native integration of Firebase Cloud Messaging (FCM) for both Android & iOS. FCM is a cost free service, allowing for server-device and device-device communication. The React Native Firebase Messaging

63 lines (46 loc) 2.82 kB
<p align="center"> <a href="https://rnfirebase.io"> <img width="160px" src="https://i.imgur.com/JIyBtKW.png"><br/> </a> <h2 align="center">React Native Firebase - Messaging</h2> </p> <p align="center"> <a href="https://api.rnfirebase.io/coverage/messaging/detail"><img src="https://api.rnfirebase.io/coverage/messaging/badge?style=flat-square" alt="Coverage"></a> <a href="https://www.npmjs.com/package/@react-native-firebase/messaging"><img src="https://img.shields.io/npm/dm/@react-native-firebase/messaging.svg?style=flat-square" alt="NPM downloads"></a> <a href="https://www.npmjs.com/package/@react-native-firebase/messaging"><img src="https://img.shields.io/npm/v/@react-native-firebase/messaging.svg?style=flat-square" alt="NPM version"></a> <a href="/LICENSE"><img src="https://img.shields.io/npm/l/react-native-firebase.svg?style=flat-square" alt="License"></a> <a href="https://lerna.js.org/"><img src="https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square" alt="Maintained with Lerna"></a> </p> <p align="center"> <a href="https://invertase.link/discord"><img src="https://img.shields.io/discord/295953187817521152.svg?style=flat-square&colorA=7289da&label=Chat%20on%20Discord" alt="Chat on Discord"></a> <a href="https://twitter.com/rnfirebase"><img src="https://img.shields.io/twitter/follow/rnfirebase.svg?style=flat-square&colorA=1da1f2&colorB=&label=Follow%20on%20Twitter" alt="Follow on Twitter"></a> <a href="https://www.facebook.com/groups/rnfirebase"><img src="https://img.shields.io/badge/Follow%20on%20Facebook-4172B8?logo=facebook&style=flat-square&logoColor=fff" alt="Follow on Facebook"></a> </p> ---- React Native Firebase provides native integration of Firebase Cloud Messaging (FCM) for both Android & iOS. FCM is a cost free service, allowing for server-device and device-device communication. The React Native Firebase Messaging module provides a simple JavaScript API to interact with FCM. [> Learn More](https://firebase.google.com/products/cloud-messaging/) ## Installation Requires `@react-native-firebase/app` to be installed. ```bash yarn add @react-native-firebase/messaging ``` ## Documentation - [Quick Start](https://rnfirebase.io/messaging/usage) - [Reference](https://rnfirebase.io/reference/messaging) ### Additional Topics - [iOS Permissions](https://rnfirebase.io/messaging/ios-permissions) - [Notifications](https://rnfirebase.io/messaging/notifications) - [Server Integration](https://rnfirebase.io/messaging/server-integration) ## License - See [LICENSE](/LICENSE) ---- <p> <img align="left" width="75px" src="https://static.invertase.io/assets/invertase/invertase-rounded.png"> <p align="left"> Built and maintained with 💛 by <a href="https://invertase.io">Invertase</a>. </p> </p> ----