firebase_core_platform_interface library

The platform interface for Firebase Core.

Classes

FirebaseAppHostApi
FirebaseAppPlatform
A class storing the name and options of a Firebase app.
FirebaseCoreHostApi
FirebaseOptions
The options used to configure a Firebase app.
FirebasePlatform
The interface that implementations of firebase_core must extend.
FirebasePluginPlatform
The interface that other FlutterFire plugins must extend.
MethodChannelFirebase
The FirebasePlatform implementation that delegates to a MethodChannel.
MethodChannelFirebaseApp
The entry point for accessing a Firebase app instance.
MockFirebaseApp
PigeonFirebaseOptions
PigeonInitializeResponse
TestFirebaseAppHostApi
TestFirebaseCoreHostApi

Constants

defaultFirebaseAppName → const String
The default Firebase application name.

Functions

coreNotInitialized() FirebaseException
Throws a consistent error message if the user attempts to initializes core without it being available on the underlying platform.
duplicateApp(String appName) FirebaseException
Throws a consistent cross-platform error message when an app is being created which already exists.
noAppExists(String appName) FirebaseException
Throws a consistent cross-platform error message when usage of an app occurs but no app has been created.
noDefaultAppDelete() FirebaseException
Throws a consistent cross-platform error message if the user attempts to delete the default app.
noDefaultAppInitialization() FirebaseException
Throws a consistent cross-platform error message if the user attempts to initialize the default app from FlutterFire.
setupFirebaseCoreMocks() → void
setupFirebaseCoreMocks can be used to mock the FirebasePlatform.

Exceptions / Errors

FirebaseException
A generic class which provides exceptions in a Firebase-friendly format to users.