pub repository
mirror.p-hatan.irfirebase_core_platform_interface
5.4.2A 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
5.4.2
- Revert Pigeon update for compatibility reasons.
5.4.1
- Update to latest Pigeon version.
5.4.0
- Bump "firebase_core_platform_interface" to
5.4.0.
5.3.1
5.3.0
5.2.1
5.2.0
5.1.0
5.0.0
Note: This release has breaking changes.
- FEAT(firestore,windows): add support to Windows (#11516). (e51d2a2d)
- BREAKING FIX: pin pigeon for
firebase_auth,cloud_firestore&firebase_core(#11715). (66c158c3)
4.8.0
- FEAT: update dependency constraints to
sdk: '>=2.18.0 <4.0.0'flutter: '>=3.3.0'(#10946). (2772d10f)
4.7.0
- FEAT(core): add support for Windows via Firebase C++ desktop SDK (#10496). (c0b8ad56)
- FEAT: upgrade to dart 3 compatible dependencies (#10890). (4bd7e59b)
4.6.0
4.5.3
4.5.2
- REFACTOR: add
verifytoQueryPlatformand change internalverifyTokenAPI toverify(#9711). (c99a842f)
4.5.1
- FIX: Prepare for fix to https://github.com/flutter/flutter/issues/109339. (#9364). (7418dfd9)
4.5.0
4.4.3
- FIX: bump
firebase_core_platform_interfaceversion to fix previous release. (bea70ea5)
4.4.2
- Manual version to fix previous release.
4.4.1
- REFACTOR: migrate from hash* to Object.hash* (#8797). (3dfc0997)
- REFACTOR: use "firebase" instead of "FirebaseExtended" as organisation in all links for this repository (#8791). (d90b8357)
4.4.0
- FEAT: allow initializing default Firebase apps via
FirebaseOptions.fromResourceon Android (#8566). (30216c4a)
4.3.0
- FEAT: allow initializing default Firebase apps via
FirebaseOptions.fromResourceon Android (#8566). (30216c4a)
4.2.5
- FIX: update all Dart SDK version constraints to Dart >= 2.16.0 (#8184). (df4a5bab)
4.2.4
- FIX: allow secondary Firebase App initialization without duplicate app error on hot restart (#7953). (f4a2c2e6)
- FIX: Fix
FirebaseExceptionerror code bug by making default value: "unknown". (#6897). (48fed37c)
4.2.3
- REFACTOR: fix all
unnecessary_importanalyzer issues introduced with Flutter 2.8. (7f0e82c9)
4.2.2
- FIX: correctly detect
not-initializederrors and provide a better error message. (0578423e)
4.2.1
- FIX: loosen duplicate app detection checks to allow unset options not to cause a duplicate app exception (#7499).
4.2.0
- FEAT: auto inject Firebase scripts (#7358).
4.1.0
- FEAT: support initializing default
FirebaseAppinstances from Dart (#6549).
4.0.1
- FIX: Fix FirebaseOptions hashCode (#3263).
- DOCS: Add missing homepage/repository links (#6054).
- CHORE: bump min Dart SDK constraint to 2.12.0 (#5430).
- CHORE: merge all analysis_options.yaml into one (#5329).
4.0.0
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
4.0.0-1.0.nullsafety.1
- REFACTOR: pubspec & dependency updates (#4932).
4.0.0-1.0.nullsafety.0
- Bump "firebase_core_platform_interface" to
4.0.0-1.0.nullsafety.0.
4.0.0-nullsafety.0
Major bump for the null-safety version to respect the versioning convention.
3.0.2-nullsafety.0
- REFACTOR: Migrate to non-nullable types (#4656).
3.0.1
- DOCS: installation links updated (#4479).
3.0.0
Note: This release has breaking changes.
- BREAKING REFACTOR: remove all currently deprecated APIs.
2.1.0
- FEAT: add FirebaseException.stackTrace support (#4095).
- CHORE: promote to stable version.
2.0.0
-
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.ir
flutter pub add firebase_core_platform_interfacepubspec.yaml
name: firebase_core_platform_interface
description: A common platform interface for the firebase_core plugin.
homepage: https://github.com/firebase/flutterfire/tree/main/packages/firebase_core/firebase_core_platform_interface
repository: https://github.com/firebase/flutterfire/tree/main/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: 5.4.2
environment:
sdk: '>=3.2.0 <4.0.0'
flutter: '>=3.3.0'
dependencies:
collection: ^1.0.0
flutter:
sdk: flutter
# Needed to export the mocks
flutter_test:
sdk: flutter
meta: ^1.8.0
plugin_platform_interface: ^2.1.3
dev_dependencies:
mockito: ^5.4.0
pigeon: 9.2.5
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 1.0.0 | 2019-11-20T23:18:52.904073Z | Download | 6a95a229a29b4619162bcd3923584ab15a462082b3d811cb1b452349a27c0ca8 |
| 1.0.2 | 2019-12-11T02:31:22.609093Z | Download | 1dd535cb34b4bbe14dc82ee71a7056945e2a81e3109bc61430ad7881d4f57eca |
| 1.0.3 | 2020-02-27T19:28:23.835225Z | Download | b6b6cb79c270f5d051f16aa8d8dafa5f8ebb557a33199ffa3db4244a43644f02 |
| 1.0.4 | 2020-02-27T22:04:10.194272Z | Download | fc3a2f1ea9d234ddc0fc2700cc943be09a4e332403491b1cf2f082a47b2e306b |
| 2.0.0-dev.1 | 2020-07-13T11:39:33.301923Z | Download | 6b9062887ad10731aa1bd3eb1c0796030cb08df71bf4118b41b78565b4da8dc9 |
| 2.0.0 | 2020-08-17T23:38:08.869305Z | Download | fe2654dd85928dcbbb570936284d04ad9d4e27a3780e8a47e19f6205917c3e13 |
| 2.1.0 | 2020-11-25T01:19:10.473553Z | Download | bd0e7855c1c127d0f4e4767c3fd9d770c0ba4598e0cf10f2df2c1ffe5fb2c318 |
| 3.0.0 | 2021-01-11T12:28:20.696359Z | Download | d2452011324536fa5973f97f1f1daa1f4a02757d14abde14b40c4758ab561f96 |
| 3.0.1 | 2021-01-12T16:46:49.748377Z | Download | 1d0f788341383aa4d663baa5524e011af6f2ca12a85d20eca4184dff430b5917 |
| 3.0.2-nullsafety.0 | 2021-01-15T17:12:34.338687Z | Download | 5ffb74f61e75b12eeffd1bf053a5b55ed3d13c46187641873ae60e54e3b7d577 |
| 4.0.0-1.0.nullsafety.0 | 2021-01-28T02:07:23.483683Z | Download | 2f953d4d6216ea3a2345707d278659dbf9f11e9e0b7a71e8d2990b6e5879556e |
| 4.0.0-1.0.nullsafety.1 | 2021-02-03T04:01:16.658417Z | Download | 8d2fb0793b39050f2ca867188c49dad349885f3ba1e65b92e6b88fa2d939df45 |
| 4.0.0-nullsafety.0 | 2021-01-21T17:02:12.992206Z | Download | 425134790009b6a7a21ebac7f5eec274b017d8cb5247dc2cf8fb51030940857b |
| 4.0.0 | 2021-02-25T19:22:53.724124Z | Download | c8c6d394b2dcf84a00de9a67ce9fedfb29122137c65f33d8ce1a0a12c9ce2a25 |
| 4.0.1 | 2021-05-10T15:04:12.268768Z | Download | 262627ffd9284ad81c9bda53de1adeeb5293da27b2da6c9bb2842126b97cae1c |
| 4.1.0 | 2021-11-06T01:48:08.556705Z | Download | 8f0281f5b68e98e1ae68103633ff8b6ad138d339d1fa06477abd11d64109b69f |
| 4.2.0 | 2021-12-02T16:47:54.008574Z | Download | 137818cabb12242955128d631600e9fedb9f7ee295c96c9515d09c1b7c7de1db |
| 4.2.1 | 2021-12-08T15:29:29.848834Z | Download | 6a46712ef807b79e662783a54b707e871938a3994b0358342906f6f966bf9537 |
| 4.2.2 | 2021-12-08T22:03:24.811677Z | Download | c3a4b06376a2de0178fc433af36197778c1ea8f386e19fa60520c3e595ffbd7a |
| 4.2.3 | 2021-12-16T15:11:04.197741Z | Download | e18d9f766904bc56f76f612afed03f838c67eef792895d1f77476974899c226d |
| 4.2.4 | 2022-01-27T16:09:11.240698Z | Download | f9af376a733d91ab8ff1f2942479cb81bbb8a8bc67c2b6c51a9cae5a10f028a0 |
| 4.2.5 | 2022-02-25T14:15:59.876238Z | Download | 3ddf85857836d32d09e6f77dd7f51f81899a836cf19670970b70e101d93539fd |
| 4.3.0 | 2022-05-03T11:50:55.712973Z | Download | 8ee24e9cdafa9abb66bf0d83c88f92626442b88a5e32c3e3decd48d032ff6b6a |
| 4.4.0 | 2022-05-13T16:56:04.791155Z | Download | 4292dfccb04e63edd7c3d311f3903016ad3ef243bf053f984fa87c8eeacc9f1a |
| 4.4.1 | 2022-06-16T15:04:59.895222Z | Download | 3cd70171c6bdd314d726a46706c75554b75b20b97869dbace71832615ea8ef3c |
| 4.4.3 | 2022-07-01T14:07:23.117616Z | Download | 195560eedebc480157aa60fc75d1a81e881a5c417482387ff60be2ca4a2fe645 |
| 4.5.0 | 2022-07-21T12:42:08.805617Z | Download | a78327f0f2f5e36073427300633c9036c4499f047f178498d08b0345ae7ad5b4 |
| 4.5.1 | 2022-08-25T14:59:21.467805Z | Download | b51257a8b4388565cd66062d727d3e60067b5f5cc3390eb0ecd20b8f97741bdb |
| 4.5.2 | 2022-10-27T14:29:53.077682Z | Download | 5fab93f5b354648efa62e7cc829c90efb68c8796eecf87e0888cae2d5f3accd4 |
| 4.5.3 | 2023-02-08T14:35:09.111585Z | Download | 5615b30c36f55b2777d0533771deda7e5730e769e5d3cb7fda79e9bed86cfa55 |
| 4.6.0 | 2023-03-30T13:54:39.223280Z | Download | 0df0a064ab0cad7f8836291ca6f3272edd7b83ad5b3540478ee46a0849d8022b |
| 4.7.0 | 2023-05-04T14:53:23.000084Z | Download | ae79f335f6c7f2dadb00c98c429da2ca905d265e0225fb5e7dfa62ac3accad48 |
| 4.8.0 | 2023-05-11T14:46:47.738584Z | Download | b63e3be6c96ef5c33bdec1aab23c91eb00696f6452f0519401d640938c94cba2 |
| 5.0.0 | 2023-10-17T15:52:40.548561Z | Download | c437ae5d17e6b5cc7981cf6fd458a5db4d12979905f9aafd1fea930428a9fe63 |
| 5.1.0 | 2024-06-11T13:53:49.051986Z | Download | 1003a5a03a61fc9a22ef49f37cbcb9e46c86313a7b2e7029b9390cf8c6fc32cb |
| 5.2.0 | 2024-07-30T13:43:31.971672Z | Download | 3c3a1e92d6f4916c32deea79c4a7587aa0e9dbbe5889c7a16afcf005a485ee02 |
| 5.2.1 | 2024-08-27T13:04:02.068090Z | Download | f7d7180c7f99babd4b4c517754d41a09a4943a0f7a69b65c894ca5c68ba66315 |
| 5.3.0 | 2024-09-17T12:47:43.643280Z | Download | e30da58198a6d4b49d5bce4e852f985c32cb10db329ebef9473db2b9f09ce810 |
| 5.3.1 | 2024-12-04T17:10:19.281949Z | Download | b94b217e3ad745e784960603d33d99471621ecca151c99c670869b76e50ad2a6 |
| 5.4.0 | 2024-12-19T10:55:07.210618Z | Download | d7253d255ff10f85cfd2adaba9ac17bae878fa3ba577462451163bd9f1d1f0bf |
| 5.4.1 | 2025-07-01T13:36:16.638977Z | Download | 5d2ab45779d91af2aa0252dec9fe4ee1caa015d83377de255454dcaa1526a0e0 |
| 5.4.2 | 2025-07-03T13:21:16.306615Z | Download | 8bcfad6d7033f5ea951d15b867622a824b13812178bfec0c779b9d81de011bbb |
| 6.0.0 | 2025-07-03T13:11:10.621927Z | Download | 5dbc900677dcbe5873d22ad7fbd64b047750124f1f9b7ebe2a33b9ddccc838eb |
| 6.0.1 | 2025-09-22T13:45:47.276127Z | Download | 5873a370f0d232918e23a5a6137dbe4c2c47cf017301f4ea02d9d636e52f60f0 |
| 6.0.2 | 2025-10-13T13:17:34.818427Z | Download | cccb4f572325dc14904c02fcc7db6323ad62ba02536833dddb5c02cac7341c64 |
| 6.0.3 | 2026-03-23T17:09:42.463401Z | Download | 0ecda14c1bfc9ed8cac303dd0f8d04a320811b479362a9a4efb14fd331a473ce |
| 7.0.0 | 2026-05-11T17:02:48.333428Z | Download | 7aafd426ad1926cfb1a7e9e012df5eff7d9a55200b31b04bc65ef45329ea5dee |
| 7.0.1 | 2026-05-14T11:27:44.602715Z | Download | 4a120366dbf7d5a8ee9438978530b664b855728fb8dcc3a201017660817e555b |
| 7.1.0 | 2026-06-17T13:45:16.740785Z | Download | 913e7c96ef83a80ad7e1c3f8a059167b3de23b5d5e07fa3ed8f11abe24de98b6 |
| 8.0.0 | 2026-07-14T11:41:23.830479Z | Download | f74d1d6fabccf7743b0144c2ed363d81049e258e22428ebb6fb0faec2fa7d938 |
| 8.1.0 | 2026-08-03T13:47:37.197664Z | Download | e28f9afdcb5b0f0a8ea74ea3b322f5a7592c81cb45dd9d189913bdae08a2089a |
| 8.1.1 | 2026-08-24T13:40:05.001464Z | Download | 9bfbc85faca09346471ac56fbcee00757ebcfd85887c6f602764eff0001902d8 |
Dependencies
collection "^1.0.0"
flutter {
"sdk": "flutter"
}
flutter_test {
"sdk": "flutter"
}
meta "^1.8.0"
plugin_platform_interface "^2.1.3"