Skip to content

Commit

Permalink
Add Separate instruction for Yarn and npm on Cloud messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
dsaha1656 authored Dec 17, 2023
1 parent 605a0df commit eca9c3c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/messaging/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@ This module requires that the `@react-native-firebase/app` module is already set
[Getting Started](/) documentation.

```bash
# Using Yarn
# Install & setup the app module
yarn add @react-native-firebase/app

# Install the messaging module
yarn add @react-native-firebase/messaging

# Using npm
# Install & setup the app module
npm install --save @react-native-firebase/app
# Install the messaging module
npm install --save @react-native-firebase/messaging

# If you're developing your app using iOS, run this command
cd ios/ && pod install
```
Expand Down

0 comments on commit eca9c3c

Please sign in to comment.