firebase_core_platform_interface library

The platform interface for Firebase Core.

Classes

FirebaseAppPlatform
A class storing the name and options of a Firebase app. [...]
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. [...]

Constants

defaultFirebaseAppName → const String
The default Firebase application name.
'[DEFAULT]'

Functions

coreNotInitialized() FirebaseException
Throws a consistent platform specific 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.

Exceptions / Errors

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