From 5c84d460a4563b82d2489447a95379498278cbae Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Tue, 2 Feb 2021 09:19:18 -0500 Subject: [PATCH] fix(dynamic-links): dynamic-links requires analytics, add peer dependency Visible in integration guides upstream Related #4821 --- docs/dynamic-links/usage/index.md | 2 ++ packages/dynamic-links/package.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/dynamic-links/usage/index.md b/docs/dynamic-links/usage/index.md index 3927cdb3a8..cb832f8caa 100644 --- a/docs/dynamic-links/usage/index.md +++ b/docs/dynamic-links/usage/index.md @@ -11,6 +11,8 @@ previous: /database/presence-detection 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/dynamic-links/package.json b/packages/dynamic-links/package.json index 5c8da1afdc..e5145d65f5 100644 --- a/packages/dynamic-links/package.json +++ b/packages/dynamic-links/package.json @@ -23,7 +23,8 @@ "dynamic link" ], "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"