From a54778d05b8bc8fd875030d98e94f9d603e3922e Mon Sep 17 00:00:00 2001 From: Aman Mittal Date: Fri, 16 Sep 2022 13:37:35 +0530 Subject: [PATCH] [docs][FirebaseAnalytics][FirebaseRecaptcha]: Revert changes and the contents of note back for other SDKs (#19135) --- docs/pages/versions/v43.0.0/sdk/firebase-analytics.md | 9 +-------- docs/pages/versions/v43.0.0/sdk/firebase-recaptcha.md | 8 +------- docs/pages/versions/v44.0.0/sdk/firebase-analytics.md | 9 +-------- docs/pages/versions/v44.0.0/sdk/firebase-recaptcha.md | 8 +------- docs/pages/versions/v45.0.0/sdk/firebase-analytics.md | 9 +-------- docs/pages/versions/v45.0.0/sdk/firebase-recaptcha.md | 8 +------- 6 files changed, 6 insertions(+), 45 deletions(-) diff --git a/docs/pages/versions/v43.0.0/sdk/firebase-analytics.md b/docs/pages/versions/v43.0.0/sdk/firebase-analytics.md index 62218bc6e03d4..a7bb65f6ba495 100644 --- a/docs/pages/versions/v43.0.0/sdk/firebase-analytics.md +++ b/docs/pages/versions/v43.0.0/sdk/firebase-analytics.md @@ -6,7 +6,6 @@ sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-43/packages/expo-firebase- import APISection from '~/components/plugins/APISection'; import InstallSection from '~/components/plugins/InstallSection'; import PlatformsSection from '~/components/plugins/PlatformsSection'; -import { Terminal } from '~/ui/components/Snippet'; import { InlineCode } from '~/components/base/code'; > **This is the only Firebase Analytics package for React Native that has universal platform support (iOS, Android, Web, and Electron).** @@ -26,13 +25,7 @@ When using the web platform, you'll also need to run `expo install firebase`, wh ### With native Firebase SDK -If you are using `expo-firebase-analytics` with React Native Firebase, you'll have to install the native Firebase SDK using the `expo install` command: - - - -This will ensure that the `@react-native-firebase/app` dependency version is compatible with the Expo SDK version your project uses. - -Also, make sure that you have React Native Firebase set up correctly in your project. For more information on how to configure it, see [using the native Firebase SDK](/guides/setup-native-firebase/#setup). +If you are using [React Native Firebase](https://rnfirebase.io/) in your project, you should use [`@react-native-firebase/analytics`](https://rnfirebase.io/analytics/usage) package provided by the library. For more information on how to configure the native Firebase, see [using the native Firebase SDK](/guides/setup-native-firebase/). ## Expo Go: Limitations & configuration diff --git a/docs/pages/versions/v43.0.0/sdk/firebase-recaptcha.md b/docs/pages/versions/v43.0.0/sdk/firebase-recaptcha.md index 2b3444bd933b5..21e0c5aaba4fd 100644 --- a/docs/pages/versions/v43.0.0/sdk/firebase-recaptcha.md +++ b/docs/pages/versions/v43.0.0/sdk/firebase-recaptcha.md @@ -24,13 +24,7 @@ Additionally, you'll also need to install the webview using `expo install react- ### With native Firebase SDK -If you are using `expo-firebase-recaptcha` with React Native Firebase, you'll have to install the native Firebase SDK using the `expo install` command: - - - -This will ensure that the `@react-native-firebase/app` dependency version is compatible with the Expo SDK version your project uses. - -Also, make sure that you have React Native Firebase set up correctly in your project. For more information on how to configure it, see [using the native Firebase SDK](/guides/setup-native-firebase/#setup). +If you are using [React Native Firebase](https://rnfirebase.io/) in your project, you should use [`@react-native-firebase/auth`](https://rnfirebase.io/auth/phone-auth) package provided by the library. For more information on how to configure the native Firebase, see [using the native Firebase SDK](/guides/setup-native-firebase/). ### Basic usage diff --git a/docs/pages/versions/v44.0.0/sdk/firebase-analytics.md b/docs/pages/versions/v44.0.0/sdk/firebase-analytics.md index a52214d04615c..4518e1f2ef7c6 100644 --- a/docs/pages/versions/v44.0.0/sdk/firebase-analytics.md +++ b/docs/pages/versions/v44.0.0/sdk/firebase-analytics.md @@ -6,7 +6,6 @@ sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-44/packages/expo-firebase- import APISection from '~/components/plugins/APISection'; import InstallSection from '~/components/plugins/InstallSection'; import PlatformsSection from '~/components/plugins/PlatformsSection'; -import { Terminal } from '~/ui/components/Snippet'; import { InlineCode } from '~/components/base/code'; > **This is the only Firebase Analytics package for React Native that has universal platform support (iOS, Android, Web, and Electron).** @@ -26,13 +25,7 @@ When using the web platform, you'll also need to run `expo install firebase`, wh ### With native Firebase SDK -If you are using `expo-firebase-analytics` with React Native Firebase, you'll have to install the native Firebase SDK using the `expo install` command: - - - -This will ensure that the `@react-native-firebase/app` dependency version is compatible with the Expo SDK version your project uses. - -Also, make sure that you have React Native Firebase set up correctly in your project. For more information on how to configure it, see [using the native Firebase SDK](/guides/setup-native-firebase/#setup). +If you are using [React Native Firebase](https://rnfirebase.io/) in your project, you should use [`@react-native-firebase/analytics`](https://rnfirebase.io/analytics/usage) package provided by the library. For more information on how to configure the native Firebase, see [using the native Firebase SDK](/guides/setup-native-firebase/). ## Expo Go: Limitations & configuration diff --git a/docs/pages/versions/v44.0.0/sdk/firebase-recaptcha.md b/docs/pages/versions/v44.0.0/sdk/firebase-recaptcha.md index 5c8cdcb0a3e0a..dbb839f5550d7 100644 --- a/docs/pages/versions/v44.0.0/sdk/firebase-recaptcha.md +++ b/docs/pages/versions/v44.0.0/sdk/firebase-recaptcha.md @@ -24,13 +24,7 @@ Additionally, you'll also need to install the webview using `expo install react- ### With native Firebase SDK -If you are using `expo-firebase-recaptcha` with React Native Firebase, you'll have to install the native Firebase SDK using the `expo install` command: - - - -This will ensure that the `@react-native-firebase/app` dependency version is compatible with the Expo SDK version your project uses. - -Also, make sure that you have React Native Firebase set up correctly in your project. For more information on how to configure it, see [using the native Firebase SDK](/guides/setup-native-firebase/#setup). +If you are using [React Native Firebase](https://rnfirebase.io/) in your project, you should use [`@react-native-firebase/auth`](https://rnfirebase.io/auth/phone-auth) package provided by the library. For more information on how to configure the native Firebase, see [using the native Firebase SDK](/guides/setup-native-firebase/). ### Basic usage diff --git a/docs/pages/versions/v45.0.0/sdk/firebase-analytics.md b/docs/pages/versions/v45.0.0/sdk/firebase-analytics.md index b06e4e85b163e..0493bf1a1c863 100644 --- a/docs/pages/versions/v45.0.0/sdk/firebase-analytics.md +++ b/docs/pages/versions/v45.0.0/sdk/firebase-analytics.md @@ -7,7 +7,6 @@ packageName: 'expo-firebase-analytics' import APISection from '~/components/plugins/APISection'; import {APIInstallSection} from '~/components/plugins/InstallSection'; import PlatformsSection from '~/components/plugins/PlatformsSection'; -import { Terminal } from '~/ui/components/Snippet'; import { InlineCode } from '~/components/base/code'; > **This is the only Firebase Analytics package for React Native that has universal platform support (iOS, Android, Web, and Electron).** @@ -27,13 +26,7 @@ When using the web platform, you'll also need to run `expo install firebase`, wh ### With native Firebase SDK -If you are using `expo-firebase-analytics` with React Native Firebase, you'll have to install the native Firebase SDK using the `expo install` command: - - - -This will ensure that the `@react-native-firebase/app` dependency version is compatible with the Expo SDK version your project uses. - -Also, make sure that you have React Native Firebase set up correctly in your project. For more information on how to configure it, see [using the native Firebase SDK](/guides/setup-native-firebase/#setup). +If you are using [React Native Firebase](https://rnfirebase.io/) in your project, you should use [`@react-native-firebase/analytics`](https://rnfirebase.io/analytics/usage) package provided by the library. For more information on how to configure the native Firebase, see [using the native Firebase SDK](/guides/setup-native-firebase/). ### Expo Go: Limitations & configuration diff --git a/docs/pages/versions/v45.0.0/sdk/firebase-recaptcha.md b/docs/pages/versions/v45.0.0/sdk/firebase-recaptcha.md index b26bcf6bdaff0..1545e74caf4fc 100644 --- a/docs/pages/versions/v45.0.0/sdk/firebase-recaptcha.md +++ b/docs/pages/versions/v45.0.0/sdk/firebase-recaptcha.md @@ -25,13 +25,7 @@ Additionally, you'll also need to install the webview using `expo install react- ### With native Firebase SDK -If you are using `expo-firebase-recaptcha` with React Native Firebase, you'll have to install the native Firebase SDK using the `expo install` command: - - - -This will ensure that the `@react-native-firebase/app`dependency version is compatible with the Expo SDK version your project uses. - -Also, make sure that you have React Native Firebase set up correctly in your project. For more information on how to configure it, see [using the native Firebase SDK](/guides/setup-native-firebase/#setup). +If you are using [React Native Firebase](https://rnfirebase.io/) in your project, you should use [`@react-native-firebase/auth`](https://rnfirebase.io/auth/phone-auth) package provided by the library. For more information on how to configure the native Firebase, see [using the native Firebase SDK](/guides/setup-native-firebase/). ### Basic usage