From 3af5b67664149b54ec73b328a04d94c06f389221 Mon Sep 17 00:00:00 2001 From: Russell Wheatley Date: Thu, 22 Sep 2022 13:33:41 +0100 Subject: [PATCH] docs(firebase_core): update inline documentation on `initializeApp()` behaviour (#9431) --- packages/firebase_core/firebase_core/lib/src/firebase.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/firebase_core/firebase_core/lib/src/firebase.dart b/packages/firebase_core/firebase_core/lib/src/firebase.dart index 07cef3283f68..f8081f762c9c 100644 --- a/packages/firebase_core/firebase_core/lib/src/firebase.dart +++ b/packages/firebase_core/firebase_core/lib/src/firebase.dart @@ -33,6 +33,9 @@ class Firebase { /// /// The default app instance can be initialized here simply by passing no "name" as an argument /// in both Dart & manual initialization flows. + /// If you have a `google-services.json` file in your android project or a `GoogleService-Info.plist` file in your iOS+ project, + /// it will automatically create a default (named "[DEFAULT]") app instance on the native platform. However, you will still need to call this method + /// before using any FlutterFire plugins. static Future initializeApp({ String? name, FirebaseOptions? options,