Skip to content

Commit

Permalink
fix(in-app-messaging): in-app-messaging requires analytics, add peer …
Browse files Browse the repository at this point in the history
…dependency

Visible in integration guides upstream

Related #4821
  • Loading branch information
mikehardy committed Feb 2, 2021
1 parent 5c84d46 commit ea80f54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/in-app-messaging/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ previous: /iid/usage
This module requires that the `@react-native-firebase/app` module is already setup and installed. To install the "app" module, view the
[Getting Started](/) documentation.

This module also requires that the `@react-native-firebase/analytics` module is already setup and installed. To install the "analytics" module, view it's [Getting Started](/analytics/usage) documentation.

```bash
# Install & setup the app module
yarn add @react-native-firebase/app
Expand Down
3 changes: 2 additions & 1 deletion packages/in-app-messaging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"inAppMessaging"
],
"peerDependencies": {
"@react-native-firebase/app": "10.5.0"
"@react-native-firebase/app": "10.5.0",
"@react-native-firebase/analytics": "10.5.1"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit ea80f54

Please sign in to comment.