React Native Firebase
    Preparing search index...
    • Initializes a Firebase app with the provided options and name.

      Parameters

      • options: FirebaseAppOptions

        Options to configure the services used in the app.

      • OptionalconfigOrName: string | FirebaseAppConfig

        The optional name of the app, or config for the app to initialize (a name of '[DEFAULT]' will be used if omitted).

      Returns Promise<ReactNativeFirebase.FirebaseApp>

      The initialized Firebase app.

      On React Native Firebase this is async (Promise<FirebaseApp>) because secondary app creation crosses the native bridge. The default app is still configured from native GoogleService-Info.plist / google-services.json at launch.