Skip to content

Commit b8aef19

Browse files
docs(firebase_core): update docs about native SDK warnings (#8169)
Co-authored-by: Mike Diarmid <[email protected]>
1 parent ebde7d2 commit b8aef19

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/cli.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ of FlutterFire across all supported platforms.
77

88
## Installation
99

10-
The FlutterFire CLI depends on the underlying [Firebase CLI](https://firebase.google.com/docs/cli). If you haven't already done so, make sure you have the Firebase CLI installed on your machine.
11-
If not, make sure you have [node.js](https://www.nodejs.org/) on your machine and Install the Firebase CLI via npm by running the following command :
10+
The FlutterFire CLI depends on the underlying [Firebase CLI](https://firebase.google.com/docs/cli). If you haven't already done so, make sure you have the Firebase CLI installed on your machine.
11+
If not, make sure you have [node.js](https://www.nodejs.org/) on your machine and Install the Firebase CLI via npm by running the following command :
1212

1313
```bash
1414
npm install -g firebase-tools
@@ -46,6 +46,12 @@ Additionally, if you use the [`google_sign_in` provider](./auth/social#google) f
4646

4747
### Generating Firebase Options
4848

49+
:::note
50+
If you initialize your Firebase app from Dart, you will likely receive warnings from the native Android & iOS Firebase SDKs indicating no Firebase app has been configured or
51+
you don't have the relevant config file (i.e. `GoogleService-Info.plist` or `google-services.json`). You can safely ignore these warnings if
52+
you're initializing your Firebase app from Dart.
53+
:::
54+
4955
FlutterFire can now be initialized from Dart on all platforms using `Firebase.initializeApp`, however
5056
the options for different platforms can vary. The FlutterFire CLI can help, by generating a file
5157
(by default called `firebase_options.dart`) which can be used when calling the initialization method.

0 commit comments

Comments
 (0)