Files
react-native-firebase/docs/messaging/quick-start.md

35 lines
777 B
Markdown

---
title: Quick Start
description: Getting started with Messaging in React Native Firebase
---
# Messaging Quick Start
> This module has not yet been migrated as part of the on-going v6 work.
## Installation
Install this module with Yarn:
```bash
yarn add @react-native-firebase/messaging
```
> Integrating manually and not via React Native auto-linking? Check the setup instructions for <Anchor version group href="/android">Android</Anchor> & <Anchor version group href="/ios">iOS</Anchor>.
## Module usage
Import the Messaging package into your project:
```js
import messaging from '@react-native-firebase/messaging';
```
The package also provides access to the firebase instance:
```js
import { firebase } from '@react-native-firebase/messaging';
```
### TODO