You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli.mdx
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ of FlutterFire across all supported platforms.
7
7
8
8
## Installation
9
9
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 :
12
12
13
13
```bash
14
14
npm install -g firebase-tools
@@ -46,6 +46,12 @@ Additionally, if you use the [`google_sign_in` provider](./auth/social#google) f
46
46
47
47
### Generating Firebase Options
48
48
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
+
49
55
FlutterFire can now be initialized from Dart on all platforms using `Firebase.initializeApp`, however
50
56
the options for different platforms can vary. The FlutterFire CLI can help, by generating a file
51
57
(by default called `firebase_options.dart`) which can be used when calling the initialization method.
0 commit comments