From 06c2a187cfab6fe7c359dc80a7841281cab9de55 Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Tue, 2 Feb 2021 09:21:33 -0500 Subject: [PATCH] fix(remote-config): remote-config requires analytics, add peer dependency Visible in integration guides upstream Related #4821 --- docs/remote-config/usage/index.md | 2 ++ packages/remote-config/package.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/remote-config/usage/index.md b/docs/remote-config/usage/index.md index 420960d285..013e1821bc 100644 --- a/docs/remote-config/usage/index.md +++ b/docs/remote-config/usage/index.md @@ -11,6 +11,8 @@ previous: /ml/image-labeling 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 diff --git a/packages/remote-config/package.json b/packages/remote-config/package.json index 9f27efac4d..e9b01828f6 100644 --- a/packages/remote-config/package.json +++ b/packages/remote-config/package.json @@ -24,7 +24,8 @@ "remote-config" ], "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"