diff --git a/docs/app/usage.md b/docs/app/usage.md index f5df73a4..e77a43e0 100644 --- a/docs/app/usage.md +++ b/docs/app/usage.md @@ -14,7 +14,7 @@ The App module is available by default once you have installed the React Native # Secondary Apps -Unlike the Firebase Web SDK, there is no need to manually call the [`initalizeApp`](https://firebase.google.com/docs/web/setup#add-sdks-initialize) +Unlike the Firebase Web SDK, there is no need to manually call the [`initializeApp`](https://firebase.google.com/docs/web/setup#add-sdks-initialize) method with your project credentials. The native Android & iOS SDKs automatically connect to your Firebase project using the credentials provided during the [Getting Started](/) installation steps. The app module does however provide support for manually initializing secondary Firebase app instances. @@ -33,7 +33,7 @@ Currently, the native Firebase SDKs only provide functionality for creating seco ## Initializing secondary apps -The module exposes an `initalizeApp` method which accepts arguments containing the credentials and options for your secondary +The module exposes an `initializeApp` method which accepts arguments containing the credentials and options for your secondary apps: ```js @@ -54,7 +54,7 @@ const config = { name: 'SECONDARY_APP', }; -await firebase.initalizeApp(credentials, config); +await firebase.initializeApp(credentials, config); ``` Once created, you can confirm the app instance has been created by accessing the `apps` property on the module: @@ -82,7 +82,7 @@ import firebase from '@react-native-firebase/app'; import auth from '@react-native-firebase/auth'; // create secondary app as described above -const secondaryApp = await firebase.initalizeApp(credentials, config); +const secondaryApp = await firebase.initializeApp(credentials, config); // Example using auth with passing the secondary app instance auth(secondaryApp).currentUser; diff --git a/docs/database/usage/index.md b/docs/database/usage/index.md index dd40cf02..7c7eb29e 100644 --- a/docs/database/usage/index.md +++ b/docs/database/usage/index.md @@ -19,7 +19,7 @@ yarn add @react-native-firebase/app yarn add @react-native-firebase/database # If you're developing your app using iOS, run this command -cd ios/ && pod install +cd ios/ && pod install && cd .. ``` If you're using an older version of React Native without autolinking support, or wish to integrate into an existing project, diff --git a/docs/index.md b/docs/index.md index 022339d3..ef8ffb14 100644 --- a/docs/index.md +++ b/docs/index.md @@ -213,7 +213,7 @@ Open your projects `/ios/Podfile` and add any of the globals shown below to the ```ruby # Override Firebase SDK Version -$FirebaseSDKVersion = '6.8.1' +$FirebaseSDKVersion = '6.13.0' # Override Fabric SDK Version $FabricSDKVersion = '1.6.0' diff --git a/docs/migrating-to-v6.md b/docs/migrating-to-v6.md index 61af15b8..59b3ddc4 100644 --- a/docs/migrating-to-v6.md +++ b/docs/migrating-to-v6.md @@ -419,7 +419,7 @@ No breaking changes. - The `Reference` class has undergone a rewrite. In previous versions, chaining invalid methods together on a query was possible. In version 6, the functionality now replicates the Firebase Web SDK. - Please thoroughly test your database queries. -- Internal JavaScript validation has been added and will throw a JavaScript error is methods are called with incorrect parameters. +- Internal JavaScript validation has been added and will throw a JavaScript error if methods are called with incorrect parameters. - All query based modifiers are now validated as per the Web SDK spec. In v5 it is possible to chain queries which are not allowed together causing native errors (e.g. `.orderByKey().orderByPriority()`, `.startAt('foo', 'bar').orderByKey()` etc). Doing so in v6 will now throw an error to keep it in-line with the Web SDK. - `Reference.push` now correctly mimics the Web SDK, returning a thenable reference.