Viewing version 2.0.0-dev.1. Open the latest package page.
firebase_core_platform_interface
2.0.0-dev.1A common platform interface for the firebase_core plugin.
Readme
firebase_core_platform_interface
A common platform interface for the firebase_core plugin.
This interface allows platform-specific implementations of the firebase_core
plugin, as well as the plugin itself, to ensure they are supporting the
same interface.
Usage
To implement a new platform-specific implementation of firebase_core, extend
FirebasePlatform with an implementation that performs the
platform-specific behavior, and when you register your plugin, set the default
FirebasePlatform by calling
FirebasePlatform.instance = MyFirebaseCore().
Note on breaking changes
Strongly prefer non-breaking changes (such as adding a method to the interface) over breaking changes for this package.
See https://flutter.dev/go/platform-interface-breaking-changes for a discussion on why a less-clean interface is preferable to a breaking change.
Changelog
2.0.0-dev.1
-
DEPRECATED:
FirebaseApp.configuremethod is now deprecated in favor of theFirebase.initializeAppmethod. -
DEPRECATED:
FirebaseApp.allAppsmethod is now deprecated in favor of theFirebase.appsproperty.- Previously,
allAppswas asynchronous where it is now synchronous.
- Previously,
-
DEPRECATED:
FirebaseApp.appNamedmethod is now deprecated in favor of theFirebase.appmethod. -
BREAKING:
FirebaseApp.optionsgetter is now synchronous. -
FirebaseOptionshas been reworked to better match web property names:- DEPRECATED:
googleAppIDis now deprecated in favor ofappId. - DEPRECATED:
projectIDis now deprecated in favor ofprojectId. - DEPRECATED:
bundleIDis now deprecated in favor ofbundleId. - DEPRECATED:
clientIDis now deprecated in favor ofandroidClientId. - DEPRECATED:
trackingIDis now deprecated in favor oftrackingId. - DEPRECATED:
gcmSenderIDis now deprecated in favor ofmessagingSenderId. - Added support for
authDomain. - Added support for
trackingId. - Required properties are now
apiKey,appId,messagingSenderId&projectId.
- DEPRECATED:
-
Added support for deleting Firebase app instances via the
deletemethod onFirebaseApp. -
Added support for returning consistent error messages from
firebase-dartplugin.- Any FlutterFire related errors now throw a
FirebaseException.
- Any FlutterFire related errors now throw a
-
Added a
FirebaseExceptionclass to handle all FlutterFire related errors.- Matching the web sdk, the exception returns a formatted "[plugin/code] message" message when thrown.
-
Added support for
setAutomaticDataCollectionEnabled&isAutomaticDataCollectionEnabledon aFirebaseAppinstance. -
Added support for
setAutomaticResourceManagementEnabledon aFirebaseAppinstance.
1.0.5
- Update lower bound of dart dependency to 2.0.0.
1.0.4
- Migrate to package:plugin_platform_interface.
1.0.3
- Make the pedantic dev_dependency explicit.
1.0.2
- Remove the deprecated
author:field from pubspec.yaml
1.0.1
- Switch away from quiver_hashcode.
1.0.0
- Initial open-source release.
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'firebase_core_platform_interface:2.0.0-dev.1'pubspec.yaml
name: firebase_core_platform_interface
description: A common platform interface for the firebase_core plugin.
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_core/firebase_core_platform_interface
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 2.0.0-dev.1
dependencies:
flutter:
sdk: flutter
meta: ^1.1.8
plugin_platform_interface: ^1.0.2
quiver: ">=2.0.0 <3.0.0"
dev_dependencies:
pedantic: ^1.8.0
flutter_test:
sdk: flutter
mockito: ^4.1.1
environment:
sdk: ">=2.1.0 <3.0.0"
flutter: ">=1.12.13+hotfix.5 <2.0.0"
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 1.0.0 | Cached · Upstream SHA-256 matched | Download | 6a95a229…7c0ca8 |
| 1.0.2 | Cached · Upstream SHA-256 matched | Download | 1dd535cb…f57eca |
| 1.0.3 | Cached · Upstream SHA-256 matched | Download | b6b6cb79…644f02 |
| 1.0.4 | Cached · Upstream SHA-256 matched | Download | fc3a2f1e…2e306b |
| 2.0.0-dev.1 | Cached · Upstream SHA-256 matched | Download | 6b906288…da8dc9 |
| 2.0.0 | Cached · Upstream SHA-256 matched | Download | fe2654dd…7c3e13 |
| 2.1.0 | Cached · Upstream SHA-256 matched | Download | bd0e7855…b2c318 |
| 3.0.0 | Cached · Upstream SHA-256 matched | Download | d2452011…561f96 |
| 3.0.1 | Cached · Upstream SHA-256 matched | Download | 1d0f7883…0b5917 |
| 3.0.2-nullsafety.0 | Cached · Upstream SHA-256 matched | Download | 5ffb74f6…b7d577 |
| 4.0.0-1.0.nullsafety.0 | Cached · Upstream SHA-256 matched | Download | 2f953d4d…79556e |
| 4.0.0-1.0.nullsafety.1 | Cached · Upstream SHA-256 matched | Download | 8d2fb079…39df45 |
| 4.0.0-nullsafety.0 | Cached · Upstream SHA-256 matched | Download | 42513479…40857b |
| 4.0.0 | Cached · Upstream SHA-256 matched | Download | c8c6d394…ce2a25 |
| 4.0.1 | Cached · Upstream SHA-256 matched | Download | 262627ff…7cae1c |
| 4.1.0 | Cached · Upstream SHA-256 matched | Download | 8f0281f5…09b69f |
| 4.2.0 | Cached · Upstream SHA-256 matched | Download | 137818ca…7de1db |
| 4.2.1 | Cached · Upstream SHA-256 matched | Download | 6a46712e…bf9537 |
| 4.2.2 | Cached · Upstream SHA-256 matched | Download | c3a4b063…ffbd7a |
| 4.2.3 | Cached · Upstream SHA-256 matched | Download | e18d9f76…9c226d |
| 4.2.4 | Cached · Upstream SHA-256 matched | Download | f9af376a…f028a0 |
| 4.2.5 | Cached · Upstream SHA-256 matched | Download | 3ddf8585…3539fd |
| 4.3.0 | Cached · Upstream SHA-256 matched | Download | 8ee24e9c…ff6b6a |
| 4.4.0 | Cached · Upstream SHA-256 matched | Download | 4292dfcc…cc9f1a |
| 4.4.1 | Cached · Upstream SHA-256 matched | Download | 3cd70171…a8ef3c |
| 4.4.3 | Cached · Upstream SHA-256 matched | Download | 195560ee…2fe645 |
| 4.5.0 | Cached · Upstream SHA-256 matched | Download | a78327f0…7ad5b4 |
| 4.5.1 | Cached · Upstream SHA-256 matched | Download | b51257a8…741bdb |
| 4.5.2 | Cached · Upstream SHA-256 matched | Download | 5fab93f5…3accd4 |
| 4.5.3 | Cached · Upstream SHA-256 matched | Download | 5615b30c…6cfa55 |
| 4.6.0 | Cached · Upstream SHA-256 matched | Download | 0df0a064…d8022b |
| 4.7.0 | Cached · Upstream SHA-256 matched | Download | ae79f335…ccad48 |
| 4.8.0 | Cached · Upstream SHA-256 matched | Download | b63e3be6…94cba2 |
| 5.0.0 | Cached · Upstream SHA-256 matched | Download | c437ae5d…a9fe63 |
| 5.1.0 | Cached · Upstream SHA-256 matched | Download | 1003a5a0…fc32cb |
| 5.2.0 | Cached · Upstream SHA-256 matched | Download | 3c3a1e92…85ee02 |
| 5.2.1 | Cached · Upstream SHA-256 matched | Download | f7d7180c…a66315 |
| 5.3.0 | Cached · Upstream SHA-256 matched | Download | e30da581…9ce810 |
| 5.3.1 | Cached · Upstream SHA-256 matched | Download | b94b217e…0ad2a6 |
| 5.4.0 | Cached · Upstream SHA-256 matched | Download | d7253d25…d1f0bf |
| 5.4.1 | Cached · Upstream SHA-256 matched | Download | 5d2ab457…26a0e0 |
| 5.4.2 | Cached · Upstream SHA-256 matched | Download | 8bcfad6d…011bbb |
| 6.0.0 | Cached · Upstream SHA-256 matched | Download | 5dbc9006…c838eb |
| 6.0.1 | Cached · Upstream SHA-256 matched | Download | 5873a370…2f60f0 |
| 6.0.2 | Cached · Upstream SHA-256 matched | Download | cccb4f57…341c64 |
| 6.0.3 | Cached · Upstream SHA-256 matched | Download | 0ecda14c…a473ce |
| 7.0.0 | Cached · Upstream SHA-256 matched | Download | 7aafd426…ea5dee |
| 7.0.1 | Cached · Upstream SHA-256 matched | Download | 4a120366…7e555b |
| 7.1.0 | Cached · Upstream SHA-256 matched | Download | 913e7c96…de98b6 |
| 8.0.0 | Cached · Upstream SHA-256 matched | Download | f74d1d6f…a7d938 |
| 8.1.0 | Cached · Upstream SHA-256 matched | Download | e28f9afd…a2089a |
| 8.1.1 | Cached · Upstream SHA-256 matched | Download | 9bfbc85f…1902d8 |
Dependencies
flutter {
"sdk": "flutter"
}
meta "^1.1.8"
plugin_platform_interface "^1.0.2"
quiver "\u003e=2.0.0 \u003c3.0.0"