Viewing version 4.14.0. Open the latest package page.

firebase_core

4.14.0

Flutter plugin for Firebase Core, enabling connecting to multiple Firebase apps.

Download archive

Readme

Firebase Core for Flutter

pub package

A Flutter plugin to use the Firebase Core API, which enables connecting to multiple Firebase apps.

To learn more about Firebase, please visit the Firebase website

Getting Started

To get started with FlutterFire, please see the documentation.

Usage

To use this plugin, please visit the Core Usage documentation

Issues and feedback

Please file FlutterFire specific issues, bugs, or feature requests in our issue tracker.

Plugin issues that are not specific to FlutterFire can be filed in the Flutter issue tracker.

To contribute a change to this plugin, please review our contribution guide and open a pull request.

Changelog

4.14.0

  • REFACTOR(core,android): migrate native implementation to Kotlin (#18570). (7a0f5856)
  • REFACTOR(core,apple): migrate iOS/macOS plugin implementation to Swift (#18569). (3b9a655b)
  • FIX(ci): bump Kotlin Gradle plugin to 2.3.0 (#18600). (4c3865e2)
  • FIX(ci): align Android toolchain and analyzer with Flutter 3.47 (#18566). (87ace849)
  • FEAT(core): bump Firebase Android SDK to 34.18.0 (#18597). (9bc9d9ce)
  • FEAT: bump Firebase iOS SDK to 12.18.0 (#18596). (07febc37)
  • FEAT(core): bump Firebase C++ SDK to 13.11.0 (#18599). (9a357750)

4.13.0

  • FIX(firestore,core,windows): per-engine BinaryMessenger, Firestore/Auth link order, Profile builds (#18516). (5dfd289e)
  • FIX(app_check): sync SPM pins to 12.17.0 and fix Windows Activate override after #18505 (#18515). (ce1f6e05)
  • FIX(remote_config,windows): move CMake dependency from Core to Remote Config (#18498). (d6ef43f6)
  • FEAT(appcheck): rCE provider api update (#18505). (a56649a4)
  • FEAT(core): bump Firebase android SDK to 34.16.0 (#18465). (fc599349)
  • FEAT(core): bump Firebase iOS SDK to 12.16.0 (#18464). (07c1bbe8)

4.12.1

4.12.0

  • FIX(core,android): synchronize access to registeredPlugins in FlutterFirebasePluginRegistry (#18406). (b40d972a)
  • FEAT(windows): bump Windows C++ SDK to version 13.9.0 (#18400). (734fcd8a)

4.11.0

  • FEAT(appcheck): appcheck reCAPTCHA mobile support (gradually rolling out) (#18261). (036a860a)
  • FEAT(core): bump Firebase ios SDK to 12.15.0 (#18375). (4d083764)
  • FEAT(core): bump Firebase android SDK to 34.15.0 (#18374). (1cd3a0bd)
  • FEAT(core): Add Recaptcha Site Key to FirebaseOptions (#18334). (57be7027)

4.10.0

4.9.0

4.8.0

  • REFACTOR: move all packages to workspace (#18182). (6cdfcb10)
  • FIX: update core, auth and app-check logic so internal resources on method channels are properly disposed (#18268). (a0de4ed8)
  • FEAT(core): Add Auth and AppCheck as App's registered service. (#18237). (7ce191cb)
  • FEAT: upgrade pigeon to version 26.3.4 (#18205). (cb6b4aef)

4.7.0

  • FEAT(core): bump Firebase Android SDK to 34.12.0 (#18185). (346a048f)
  • FEAT: bump Firebase iOS SDK to 12.12.0 (#18187). (cc063bd9)
  • FEAT: bump iOS SDK to version 12.11.0 (#18161). (2664b2c2)
  • FEAT(app_check,windows): add support for AppCheck for Windows (#18140). (81f30325)
  • FEAT: bump Firebase android SDK to 34.11.0 (#18146). (2b50061a)
  • FEAT: use local firebase_core instead of remote SPM dependency (#18141). (995caf40)

4.6.0

  • FIX(remote_config,windows): release mode wasn't linking properly for windows (#18073). (ea1f309a)
  • FIX(core): bump Firebase C++ SDK to 13.5.0 (CMake deprecation fix) (#18071). (3afd4101)
  • FIX(auth,windows): add pluginregistry to properly restore state on Windows (#18049). (8d715a77)
  • FEAT(database,windows): add support for Realtime Database to windows (#18079). (007689f9)
  • FEAT(ios): migrate iOS to UIScene lifecycle (#18054). (3ffa4110)

4.5.0

  • FEAT(core,windows): update C++ Desktop SDK to 13.4.0. This may require updating your Visual Studio version and C++ build tools. (#18006). (a6ec167f)
  • FIX: resolve lint issues (#18017). (e8e85397)
  • FEAT: bump Firebase iOS SDK to 12.9.0 (#18034). (c45894e2)
  • FEAT: bump Firebase android SDK to 34.9.0 (#18016). (b218dbff)
  • FEAT(remote-config,windows): add support for windows (#18006). (a6ec167f)

4.4.0

4.3.0

4.2.1

  • Update a dependency to the latest release.

4.2.0

4.1.1

  • Update a dependency to the latest release.

4.1.0

4.0.0

Note: This release has breaking changes.

3.15.2

  • FIX(core): resolve iOS crash when enabling automatic data collection via setAutomaticDataCollectionEnabled (#17497). (cd8b58d0)

3.15.1

  • Update a dependency to the latest release.

3.15.0

3.14.0

3.13.1

  • Update a dependency to the latest release.

3.13.0

  • FEAT(core,windows): update C++ SDK to 12.7.0 (#17238). (b0e5843d)
  • FEAT(functions): migrate cloud functions Apple implementation to Swift (#17232). (9ebc7bc1)
  • FEAT: bump Firebase iOS SDK to 11.10.0 (#17228). (4573a4d6)
  • FEAT: bump Firebase android SDK to 33.11.0 (#17217). (0cb8b91e)

3.12.1

  • Update a dependency to the latest release.

3.12.0

3.11.0

3.10.1

  • FIX(firebase_core): Update google_services_gradle_plugin_version in pubspec (#16944). (9911deb6)

3.10.0

3.9.0

  • FIX(core,macos): update path to firebase sdk version for SPM (#16890). (4a190da0)
  • FIX(core,macos): exclude files pulled in from remote dependency. SPM integration (#16834). (a8a22b17)
  • FIX(core): auth Swift support requires FLTFirebaseCorePlugin & messages to be shared (#16774). (f89483cd)
  • FIX(core): auth Swift support requires FLTFirebaseCorePlugin & messages to be shared (#16774). (ba5f2414)
  • FEAT: bump Firebase android BOM to v33.7.0 (#16857). (0048bd13)

3.8.1

  • FIX(core): auth Swift support requires FLTFirebaseCorePlugin & messages to be shared (#16774). (f89483cd)

3.8.0

3.7.0

  • FIX(core,ios): ensure iOS SDK version can be found from Package.swift (#13804). (83f4dad6)
  • FIX(core,ios): update Package.swift and header imports for backwards compatibility (#13545). (07eb25fa)
  • FEAT: update Android SDK to version 33.5.1 (#13803). (66394540)
  • FEAT: bump firebase iOS SDK to v11.4.0 (#13552). (a4be6973)
  • FEAT: bump Firebase android BOM to v33.5.0 (#13538). (d3cfc0e7)

3.6.0

3.5.0

  • FEAT(fdc): Initial Release of Data Connect (#13313). (603a6726)
  • FEAT(core): support for using SPM (Swift Package Manager) (#12786). (4e28103f)

3.4.1

  • Update a dependency to the latest release.

3.4.0

3.3.0

3.2.0

3.1.1

  • FIX(auth,windows): fix a crash that could happen when using sendEmailVerification or sendPasswordResetEmail (#12946). (a1008290)

3.1.0

3.0.0

Note: This release has breaking changes.

  • FEAT: bump Firebase android SDK to 33.1.0 (#12874). (f67914c4)
  • FEAT: bump Firebase iOS SDK to 10.27.0 (#12871). (fcb3c212)
  • FEAT: bump CPP SDK to version 12.0.0 (#12866). (6efc0d47)
  • BREAKING REFACTOR: android plugins require minSdk 21, auth requires minSdk 23 ahead of android BOM >=33.0.0 (#12873). (52accfc6)
  • BREAKING REFACTOR: bump all iOS deployment targets to iOS 13 ahead of Firebase iOS SDK v11 breaking change (#12872). (de0cea2c)

2.32.0

2.31.1

  • FIX(storage,windows): putFile(), putString(), putData() & Task streaming event fixes (#12723). (de69e07a)

2.31.0

2.30.1

  • Update a dependency to the latest release.

2.30.0

2.29.0

2.28.0

  • FEAT(android): Bump compileSdk version of Android plugins to latest stable (34) (#12566). (e891fab2)

2.27.2

2.27.1

  • Update a dependency to the latest release.

2.27.0

2.26.0

  • FIX(core,android): fix a null issue when initializing fromResource() (#12404). (635cd781)
  • FEAT: bump iOS SDK to version 10.22.0 (#12430). (741c5519)

2.25.5

  • FIX(core,web): fix compatibility with TrustedTypes (#12383). (6c1f73d0)

2.25.4

  • Update a dependency to the latest release.

2.25.3

  • Update a dependency to the latest release.

2.25.2

  • FIX(auth,web): fix null safety issue in typing JS Interop (#12250). (d0d30405)

2.25.1

  • Update a dependency to the latest release.

2.25.0

  • FIX(auth,ios): Initialise static dictionary for custom auth domains (#12157). (1262f3c6)
  • FEAT: bump Android SDK to version 32.7.1 (#12213). (3c75bb52)
  • FEAT: bump iOS SDK to version 10.20.0 (#12214). (e34e072a)
  • FEAT: bump firebase iOS SDK to 10.19.0 (#12125). (c3861567)
  • FEAT: bump firebase android SDK BOM to 32.7.0 (#12124). (a691f3d1)
  • DOCS: change old documentation links of packages in README files (#12136). (24b9ac7e)

2.24.2

  • FIX(core,windows): fix release build of Firebase Auth, Firestore and Storage on Windows (#11997). (12b186a8)

2.24.1

  • Update a dependency to the latest release.

2.24.0

  • FEAT(auth): add support for custom domains on mobile (#11925). (552119c7)

2.23.0

  • FIX(core,apple): remove usage of deprecated options trackingID and androidClientID (#11893). (4dfbe5a4)
  • FEAT: bump iOS SDK to version 10.18.0 (#11916). (abbea170)
  • FEAT: bump firebase android SDK BOM to 32.6.0 (#11910). (8467816c)

2.22.0

  • FEAT: update iOS SDK to version 10.17.0 (#11839). (f78838ae)
  • FEAT(windows): add platform logging for core, auth, firestore and storage (#11790). (e7d428d1)

2.21.0

2.20.0

  • FIX(core,windows): remove unused map of string that was causing a crash (#11745). (895da052)
  • FIX(core,windows): allow user to override MSVC_RUNTIME_MODE (#11150). (3be28676)
  • FEAT: bump Firebase iOS SDK 10.16.0 (#11698). (666f90ea)
  • FEAT(storage,windows): Add windows support (#11617). (87ea02c8)

2.19.0

  • FEAT(firestore,windows): add Filters to windows (#11726). (dde59d46)

2.18.0

2.17.0

2.16.0

2.15.1

  • Update a dependency to the latest release.

2.15.0

2.14.0

  • FIX(core,apple): pass boolean value instead of int to setDataCollectionDefaultEnabled() (#11039). (67b051fd)
  • FEAT: bump Firebase iOS SDK to 10.10.0. Requires Xcode version >= 14.1. (#11088). (615b2d48)

2.13.1

2.13.0

2.12.0

  • FEAT: update dependency constraints to sdk: '>=2.18.0 <4.0.0' flutter: '>=3.3.0' (#10946). (2772d10f)

2.11.0

2.10.0

2.9.0

2.8.0

2.7.1

  • Update a dependency to the latest release.

2.7.0

2.6.1

  • Update a dependency to the latest release.

2.6.0

2.5.0

  • REFACTOR: upgrade project to remove warnings from Flutter 3.7 (#10344). (e0087c84)
  • FEAT: bump Firebase Android SDK to 31.2.0 (#10369). (3a8b3b01)

2.4.1

  • Update a dependency to the latest release.

2.4.0

2.3.0

2.2.0

2.1.1

  • REFACTOR: add verify to QueryPlatform and change internal verifyToken API to verify (#9711). (c99a842f)

2.1.0

2.0.0

Note: This release has breaking changes.

  • BREAKING FEAT: Firebase iOS SDK version: 10.0.0 (#9708). (9627c56a)
  • BREAKING FEAT: Firebase android SDK BOM 31.0.0 (#9724). (29ba1a08)

1.24.0

1.23.0

  • FEAT: Bump Firebase android SDK to 30.5.0 (#9573). (3ec750e1)
  • DOCS: update inline documentation on initializeApp() behaviour (#9431). (3af5b676)

1.22.0

1.21.1

  • Update a dependency to the latest release.

1.21.0

1.20.1

1.20.0

1.19.2

  • Update a dependency to the latest release.

1.19.1

  • FIX: bump firebase_core_platform_interface version to fix previous release. (bea70ea5)

1.19.0

  • FEAT: Bump Firebase iOS SDK to 9.2.0 (#8594). (79610162)

1.18.0

  • 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)
  • FEAT: bump Firebase Android SDK to 30.1.0 (#8847). (796f1e74)
  • DOCS: point to "firebase.google" domain for hyperlinks in the usage section of README.md files (for the missing packages) (#8818). (5bda8c92)

1.17.1

  • DOCS: use camel case style for "FlutterFire" in README.md (#8749). (41462a42)

1.17.0

  • REFACTOR: remove deprecated Tasks.call for android and replace with TaskCompletionSource. (#8581). (374c9df3)
  • FEAT: bump Firebase Android SDK to 30.0.0 (#8617). (72158aaf)
  • FEAT: allow initializing default Firebase apps via FirebaseOptions.fromResource on Android (#8566). (30216c4a)

1.16.0

  • FEAT: allow initializing default Firebase apps via FirebaseOptions.fromResource on Android (#8566). (30216c4a)

1.15.0

  • FEAT: bump Firebase Android SDK to 29.3.1 (#8494). (17b9c289)
  • FEAT: Update Firebase iOS SDK to 8.15.0 (#8454). (faaf4496)

1.14.1

  • Update a dependency to the latest release.

1.14.0

  • FEAT: Bump Firebase iOS SDK to 8.14.0. (#8370). (41bb9800)
  • FEAT: bump Firebase Android SDK to 29.3.0 (#8283). (a6c646a0)
  • DOCS: Update inline code documentation for initializing Firebase app. (#8329). (19727798)

1.13.1

  • FIX: update all Dart SDK version constraints to Dart >= 2.16.0 (#8184). (df4a5bab)

1.13.0

  • FEAT: refactor error handling to preserve stack traces on platform exceptions (#8156). (6ac77d99)

1.12.0

  • FEAT: bump Firebase iOS SDK to 8.11.0 & Android SDK to 29.0.4 (#7942). (c23adf08)

1.11.0

  • FIX: bump Android compileSdkVersion to 31 (#7726). (a9562bac)
  • FIX: bump Firebase Android SDK version to 29.0.3 (from 29.0.0). (2ab4abaf)
  • FIX: workaround an SDK issue on Android where calling initializeApp when having In App Messaging installed causes a crash. (8f5204e7)
  • FEAT: bump Firebase iOS SDK version to 8.10.0. (#7775). (ac9709e0)

1.10.6

  • REFACTOR: fix all unnecessary_import analyzer issues introduced with Flutter 2.8. (7f0e82c9)

1.10.5

  • Update a dependency to the latest release.

1.10.4

  • Update a dependency to the latest release.

1.10.3

  • Update a dependency to the latest release.

1.10.2

  • Update a dependency to the latest release.

1.10.1

  • REFACTOR: migrate remaining examples & e2e tests to null-safety (#7393).

1.10.0

  • FEAT: support initializing default FirebaseApp instances from Dart (#6549).

1.9.0

  • FEAT: bump Firebase Android SDK version to 29.0.0 (#7296).
  • FEAT: bump Firebase iOS SDK to 8.9.0 (#7289).

1.8.0

  • FEAT: Firebase iOS SDK version bumped to 8.8.0 (#7213).
  • REFACTOR: remove deprecated Flutter Android v1 Embedding usages, including in example app (#7158).
  • STYLE: macOS & iOS; explicitly include header that defines TARGET_OS_OSX (#7116).

1.7.0

  • FEAT: bump Firebase iOS SDK to 8.7.0 & Android SDK to 28.4.1 (#7083).
  • CHORE: update gradle version across packages (#7054).

1.6.0

  • FEAT: update Firebase Android SDK to 28.3.1 & Firebase iOS SDK to 8.6.0 (#6847).

1.5.0

  • STYLE: enable additional lint rules (#6832).
  • FEAT: lower iOS & macOS deployment targets for relevant plugins (#6757).
  • FEAT: iOS sdk version bump 8.5.0. (#6786).

1.4.0

  • FEAT: bump Firebase iOS SDK version to 8.3.0 (#6568).
  • CHORE: update v2 embedding support (#6506).
  • CHORE: rm deprecated jcenter repository (#6431).

1.3.0

  • FEAT: Upgrade Firebase Android BoM version to 28.1.0 (#6338).

1.2.1

  • DOCS: Add Flutter Favorite badge (#6190).

1.2.0

  • FEAT: upgrade Firebase Android SDK BoM version from 28.0.0 to 28.0.1.
  • FEAT: upgrade Firebase JS SDK version to 8.6.1.
  • FIX: podspec osx version checking script should use a version range instead of a single fixed version.

1.1.1

  • Update a dependency to the latest release.

1.1.0

  • FEAT: update iOS Firebase SDK from 7.3 to 7.11 (#5896).

1.0.4

  • REFACTOR: Share guard functions across plugins (#5783).
  • CHORE: update Web plugins to use Firebase JS SDK version 8.4.1 (#4464).

1.0.3

  • REFACTOR: Remove deprecated gradle property android.enableR8=true (#5463).
  • CHORE: add repository urls to pubspecs (#5542).
  • CHORE: bump min Dart SDK constraint to 2.12.0 (#5430).
  • CHORE: publish packages (#5429).
  • CHORE: publish packages.

1.0.2

  • Update a dependency to the latest release.

1.0.1

  • Update a dependency to the latest release.

1.0.0

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

1.0.0-1.0.nullsafety.0

  • Bump "firebase_core" to 1.0.0-1.0.nullsafety.0.

0.8.0-1.0.nullsafety.2

  • TESTS: update mockito API usage in tests

0.8.0-1.0.nullsafety.1

  • REFACTOR: pubspec & dependency updates (#4932).
  • REFACTOR: replace deprecated RaisedButton widget with ElevatedButton.

0.8.0-1.0.nullsafety.0

  • Bump "firebase_core" to 0.8.0-1.0.nullsafety.0.

0.8.0-nullsafety.1

  • FEAT: bump firebase-core to 4.0.0-nullsafety.0 and firebase-core-web to 0.3.0-nullsafety.0.

0.8.0-nullsafety.0

  • FIX: Bump package to 0.8.0 for nullsafety. (fixes issue #4728)

0.7.0-nullsafety.0

  • REFACTOR: Migrate non-nullable types (#4656).

0.7.0

Note: This release has breaking changes.

  • FEAT: add check on podspec to assist upgrading users deployment target.
  • BUILD: commit Podfiles with 10.12 deployment target.
  • BUILD: remove default sdk version, version should always come from firebase_core, or be user defined.
  • BUILD: set macOS deployment target to 10.12 (from 10.11).
  • BREAKING BUILD: set osx min supported platform version to 10.12.

0.6.0

Note: This release has breaking changes.

  • FEAT: bump firebase-android-sdk to v26.2.0.
  • BREAKING REFACTOR: remove all currently deprecated APIs.
  • BREAKING FEAT: forward port to firebase-ios-sdk v7.3.0.
    • Due to this SDK upgrade, iOS 10 is now the minimum supported version by FlutterFire. Please update your build target version.
  • CHORE: harmonize dependencies and version handling.

0.5.3

  • FEAT: bump android com.android.tools.build & 'com.google.gms:google-services versions (#4269).

0.5.2+1

  • Update a dependency to the latest release.

0.5.2

  • FEAT: add not-in & != query support (#3748).
  • FEAT: bump compileSdkVersion to 29 (#3975).
  • FEAT: bump compileSdkVersion to 29 in preparation for upcoming Play Store requirement.
  • CHORE: publish packages.
  • CHORE: publish packages.

0.5.1

  • FEAT: bump compileSdkVersion to 29 (#3975).
  • FEAT: update Firebase Android SDK BoM version to 25.12.0 (from 25.3.1).
  • FEAT: update Firebase iOS SDK version to 6.33.0 (from 6.26.0).

0.5.0+1

  • FIX: remove unused dart:async import (#3611).

0.5.0

  • Allow iOS and macOS to be imported as a module.

  • DEPRECATED: FirebaseApp.configure method is now deprecated in favor of the Firebase.initializeApp method.

  • DEPRECATED: FirebaseApp.allApps method is now deprecated in favor of the Firebase.apps property.

    • Previously, allApps was async & apps is now synchronous.
  • DEPRECATED: FirebaseApp.appNamed method is now deprecated in favor of the Firebase.app method.

  • BREAKING: FirebaseApp.options getter is now synchronous.

  • FirebaseOptions has been reworked to better match web property names:

    • DEPRECATED: googleAppID is now deprecated in favor of appId.
    • DEPRECATED: projectID is now deprecated in favor of projectId.
    • DEPRECATED: bundleID is now deprecated in favor of bundleId.
    • DEPRECATED: clientID is now deprecated in favor of androidClientId.
    • DEPRECATED: trackingID is now deprecated in favor of trackingId.
    • DEPRECATED: gcmSenderID is now deprecated in favor of messagingSenderId.
    • Added support for authDomain.
    • Added support for trackingId.
    • Required properties are now apiKey, appId, messagingSenderId & projectId.
  • Added support for deleting Firebase app instances via the delete method on FirebaseApp.

  • Added support for returning consistent error messages from firebase-dart plugin.

    • Any FlutterFire related errors now throw a FirebaseException.
  • Added a FirebaseException class 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 & isAutomaticDataCollectionEnabled on a FirebaseApp instance.

  • Added support for setAutomaticResourceManagementEnabled on a FirebaseApp instance.

  • Android: Gradle build tools updated to 3.6.3 from 3.3.0.

  • Android: Removed Gradle ‘hacks’ and upgrade Flutter SDK requirement from >=1.12.13+hotfix.4 to >=1.12.13+hotfix.5 - based on PR https://github.com/flutter/plugins/pull/2651

  • Android: Switched to using Firebase BoM to manage SDK versions

0.4.5

  • Update lower bound of dart dependency to 2.0.0.

0.4.4+3

  • Fix for missing UserAgent.h compilation failures.

0.4.4+2

  • Update dependency on firebase_core_platform_interface to 1.0.4.

0.4.4+1

  • Make the pedantic dev_dependency explicit.

0.4.4

  • Add macOS support

0.4.3+3

  • Fix overrides a deprecated API.

0.4.3+2

  • Add integration instructions for the web platform.

0.4.3+1

  • Move Platform.isIOS check behind a configurable import so that pub.dev registers this as a Web plugin.

0.4.3

  • Enable the web implementation by default.
  • Raise minimum required Flutter SDK version to 1.12.13+hotfix.4

0.4.2+2

  • Remove the deprecated author: field from pubspec.yaml
  • Migrate the plugin to the pubspec platforms manifest.
  • Bump the minimum Flutter version to 1.10.0.

0.4.2+1

  • Check kIsWeb before checking Platform.isIos for the default app name.

0.4.2

  • Migrate to firebase_core_platform_interface.

0.4.1+6

  • Update the homepage now that the package structure has changed.

0.4.1+5

0.4.1+4

  • Remove visibleForTesting annotation from FirebaseApp constructor.

0.4.1+3

  • Updated README instructions for contributing for consistency with other Flutterfire plugins.

0.4.1+2

  • Remove AndroidX warning.

0.4.1+1

  • Include lifecycle dependency as a compileOnly one on Android to resolve potential version conflicts with other transitive libraries.

0.4.1

  • Support the v2 Android embedding.

0.4.0+9

  • Update documentation to reflect new repository location.
  • Update unit tests to call TestWidgetsFlutterBinding.ensureInitialized.

0.4.0+8

  • Update google-services Android gradle plugin to 4.3.0 in documentation and examples.

0.4.0+7

  • Fix Android compilation warning.

0.4.0+6

  • Automatically use version from pubspec.yaml when reporting usage to Firebase.

0.4.0+5

  • Rollback of automatic plugin version retrieval.

0.4.0+4

  • Automate the retrieval of the plugin's version when reporting usage to Firebase.

0.4.0+3

  • Add missing template type parameter to invokeMethod calls.
  • Bump minimum Flutter version to 1.5.0.
  • Replace invokeMethod with invokeMapMethod wherever necessary.

0.4.0+2

  • Update user agent name. Set to flutter-fire-core for consistency with other libraries.

0.4.0+1

  • Send user agent to Firebase.

0.4.0

  • Update Android dependencies to latest.

0.3.4

  • Updates Android firebase-core dependency to a version that is compatible with other Flutterfire plugins.

0.3.3

  • Remove Gradle BoM to avoid Gradle version issues.

0.3.2

  • Move Android dependency to Gradle BoM to help maintain compatibility with other FlutterFire plugins.

0.3.1+1

  • Add nil check on static functions to prevent crashes or unwanted behaviors.

0.3.1

  • Remove an assertion that can interfere with hot-restart.

0.3.0+2

  • Remove categories.

0.3.0+1

  • Log a more detailed warning at build time about the previous AndroidX migration.

0.3.0

  • Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.

0.2.5+1

  • Bump Android dependencies to latest.

0.2.5

  • Bump Android and Firebase dependency versions.

0.2.4

  • Updated Gradle tooling to match Android Studio 3.1.2.

0.2.3

  • Updated Google Play Services dependencies to version 15.0.0.

0.2.2

  • Simplified podspec for Cocoapods 1.5.0, avoiding link issues in app archives.

0.2.1

  • Fix setting project ID on Android.

0.2.0

  • Breaking change. Options API is now async to interoperate with native code that configures Firebase apps.
  • Provide a getter for the default app
  • Fix setting of GCM sender ID on iOS

0.1.2

  • Fix projectID on iOS

0.1.1

  • Fix behavior of constructor for named Firebase apps.

0.1.0

  • Breaking change. Set SDK constraints to match the Flutter beta release.

0.0.7

  • Fixed Dart 2 type errors.

0.0.6

  • Enabled use in Swift projects.

0.0.5

  • Moved to the io.flutter.plugins org.

0.0.4

  • Fixed warnings from the Dart 2.0 analyzer.
  • Simplified and upgraded Android project template to Android SDK 27.
  • Updated package description.

0.0.3

  • Breaking change. Upgraded to Gradle 4.1 and Android Studio Gradle plugin 3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in order to use this version of the plugin. Instructions can be found here.

0.0.2

  • Fixes for database URL on Android
  • Make GCM sender id optional on Android
  • Relax GMS dependency to 11.+

0.0.1

  • Initial Release

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'firebase_core:4.14.0'
pubspec.yaml
name: firebase_core
description: Flutter plugin for Firebase Core, enabling connecting to multiple
  Firebase apps.
homepage: https://firebase.google.com/docs/flutter/setup
repository: https://github.com/firebase/flutterfire/tree/main/packages/firebase_core/firebase_core
version: 4.14.0
resolution: workspace
topics:
  - firebase
  - core

false_secrets:
  - example/**

environment:
  sdk: '^3.6.0'
  flutter: '>=3.27.0'

dependencies:
  firebase_core_platform_interface: ^8.1.1
  firebase_core_web: ^3.11.0
  flutter:
    sdk: flutter
  meta: ^1.8.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  mockito: ^5.0.0
  plugin_platform_interface: ^2.1.3

flutter:
  plugin:
    platforms:
      android:
        package: io.flutter.plugins.firebase.core
        pluginClass: FlutterFirebaseCorePlugin
      ios:
        pluginClass: FLTFirebaseCorePlugin
      macos:
        pluginClass: FLTFirebaseCorePlugin
      web:
        default_package: firebase_core_web
      windows:
        pluginClass: FirebaseCorePluginCApi

firebase:
  google_services_gradle_plugin_version: '4.4.4'
  crashlytics_gradle_plugin_version: '3.0.7'
  performance_gradle_plugin_version: '2.0.2'

Version history

VersionPublishedArchiveSHA-256
0.0.1Cached · Upstream SHA-256 matchedDownloadf4a61fca…5b1bb8
0.0.2Cached · Upstream SHA-256 matchedDownload0901a604…32624c
0.0.4Cached · Upstream SHA-256 matchedDownload8d597bf7…d1fe95
0.0.5Cached · Upstream SHA-256 matchedDownloadf0a1a6b1…6be2a7
0.0.6Cached · Upstream SHA-256 matchedDownload8b0dfa7c…9561f1
0.0.7Cached · Upstream SHA-256 matchedDownload88f4f1c7…1ac817
0.1.0Cached · Upstream SHA-256 matchedDownload8dfb9281…14924f
0.1.1Cached · Upstream SHA-256 matchedDownload51487c98…ca495c
0.1.2Cached · Upstream SHA-256 matchedDownloade18e9bf4…efd207
0.2.0Cached · Upstream SHA-256 matchedDownload0d32c337…28ea61
0.2.1Cached · Upstream SHA-256 matchedDownload7e22d664…d66857
0.2.2Cached · Upstream SHA-256 matchedDownload1603bd44…18e823
0.2.3Cached · Upstream SHA-256 matchedDownloadfa28fc2a…a991a9
0.2.4Cached · Upstream SHA-256 matchedDownloada2d072b7…a68494
0.2.5Cached · Upstream SHA-256 matchedDownload9623a584…eb5ab9
0.2.5+1Cached · Upstream SHA-256 matchedDownloadcd51a566…22b9db
0.3.0Cached · Upstream SHA-256 matchedDownloadd6cbc317…547ced
0.3.0+1Cached · Upstream SHA-256 matchedDownload7404448c…f805a1
0.3.0+2Cached · Upstream SHA-256 matchedDownloada4a48cb4…75510f
0.3.1Cached · Upstream SHA-256 matchedDownload3c7dea25…2bdb80
0.3.1+1Cached · Upstream SHA-256 matchedDownloade98d73ea…2b3688
0.3.2Cached · Upstream SHA-256 matchedDownloadba17a8ba…1de654
0.3.3Cached · Upstream SHA-256 matchedDownload51381552…7b3c06
0.3.4Cached · Upstream SHA-256 matchedDownload4003bc09…b74f56
0.4.0Cached · Upstream SHA-256 matchedDownloade77da96b…7d30b4
0.4.0+1Cached · Upstream SHA-256 matchedDownload44c106c8…08a3ac
0.4.0+3Cached · Upstream SHA-256 matchedDownload4bca32d6…136a4e
0.4.0+4Cached · Upstream SHA-256 matchedDownload1d5d64fb…b23ecb
0.4.0+5Cached · Upstream SHA-256 matchedDownloadc3ff2ede…9c1de0
0.4.0+6Cached · Upstream SHA-256 matchedDownload5912b33a…5eacc6
0.4.0+7Cached · Upstream SHA-256 matchedDownload7cee8b94…d0c8b4
0.4.0+8Cached · Upstream SHA-256 matchedDownload2a549f85…752328
0.4.0+9Cached · Upstream SHA-256 matchedDownload8c8de42b…da98e9
0.4.1+3Cached · Upstream SHA-256 matchedDownload8505a8b4…9bea26
0.4.1+4Cached · Upstream SHA-256 matchedDownload39792535…6be917
0.4.1+5Cached · Upstream SHA-256 matchedDownload76743259…af175a
0.4.2Cached · Upstream SHA-256 matchedDownloadcd5e5b86…7606fa
0.4.2+1Cached · Upstream SHA-256 matchedDownloadf69a33db…14e822
0.4.2+2Cached · Upstream SHA-256 matchedDownload1c4f3c39…b33c49
0.4.3Cached · Upstream SHA-256 matchedDownload5a88188a…62ed37
0.4.3+1Cached · Upstream SHA-256 matchedDownloadf0b22f4d…e4153e
0.4.3+2Cached · Upstream SHA-256 matchedDownloadfc5b256c…797cd7
0.4.3+3Cached · Upstream SHA-256 matchedDownload86dd5f92…06d2d5
0.4.4Cached · Upstream SHA-256 matchedDownload7bcaf7f1…13bde3
0.4.4+2Cached · Upstream SHA-256 matchedDownload5855a8d3…55429c
0.4.4+3Cached · Upstream SHA-256 matchedDownloadd46646e0…a6bbf3
0.4.5Cached · Upstream SHA-256 matchedDownloadd523a54a…82e1b4
0.5.0-dev.1Cached · Upstream SHA-256 matchedDownload70aa260a…1bc8aa
0.5.0-dev.2Cached · Upstream SHA-256 matchedDownload3263a3de…e084ef
0.5.0Cached · Upstream SHA-256 matchedDownload18c2f4e6…acdf50
0.5.0+1Cached · Upstream SHA-256 matchedDownload6b176374…45c23b
0.5.1Cached · Upstream SHA-256 matchedDownloadac27fe81…f346b2
0.5.2Cached · Upstream SHA-256 matchedDownload9771ad4a…24e343
0.5.2+1Cached · Upstream SHA-256 matchedDownload70556cf6…543988
0.5.3Cached · Upstream SHA-256 matchedDownloadbdba9a7e…a50318
0.6.0Cached · Upstream SHA-256 matchedDownloadcc4b3f28…58614f
0.7.0-nullsafety.0Cached · Upstream SHA-256 matchedDownloadb1330ee8…8aebac
0.7.0Cached · Upstream SHA-256 matchedDownload7682e415…f8a4fb
0.8.0-1.0.nullsafety.0Cached · Upstream SHA-256 matchedDownload5f5628ba…451b04
0.8.0-1.0.nullsafety.1Cached · Upstream SHA-256 matchedDownloade29e4786…230e5a
0.8.0-1.0.nullsafety.2Cached · Upstream SHA-256 matchedDownload57eb2338…d3db41
0.8.0-nullsafety.0Cached · Upstream SHA-256 matchedDownload148f486c…26c67b
0.8.0-nullsafety.1Cached · Upstream SHA-256 matchedDownload984cf6c4…f71540
1.0.0-1.0.nullsafety.0Cached · Upstream SHA-256 matchedDownloadbdb80eb8…5e48f7
1.0.0Cached · Upstream SHA-256 matchedDownload0783e0d8…2c2ec3
1.0.1Cached · Upstream SHA-256 matchedDownload009cf8a0…9ad972
1.0.2Cached · Upstream SHA-256 matchedDownload10be49bf…f01897
1.0.3Cached · Upstream SHA-256 matchedDownload061f7a70…24e348
1.0.4Cached · Upstream SHA-256 matchedDownloadabf8f3db…5a3aa5
1.1.0Cached · Upstream SHA-256 matchedDownloadcddca26e…d9d43c
1.1.1Cached · Upstream SHA-256 matchedDownloadc56f2b71…c7ac26
1.2.0Cached · Upstream SHA-256 matchedDownload49e13ec4…d76636
1.2.1Cached · Upstream SHA-256 matchedDownloaded25edad…3ab437
1.3.0Cached · Upstream SHA-256 matchedDownloadb9fe42c1…196d04
1.4.0Cached · Upstream SHA-256 matchedDownloadabf204f9…adf0ea
1.5.0Cached · Upstream SHA-256 matchedDownload4ef954e0…ccdab6
1.6.0Cached · Upstream SHA-256 matchedDownload64c02546…09469e
1.7.0Cached · Upstream SHA-256 matchedDownload8513da1e…309bcf
1.8.0Cached · Upstream SHA-256 matchedDownload2d5160e7…ad4e35
1.9.0Cached · Upstream SHA-256 matchedDownloaddacc7a04…4e822b
1.10.0Cached · Upstream SHA-256 matchedDownload3be9992f…9b61c5
1.10.1Cached · Upstream SHA-256 matchedDownloade4093368…25bd65
1.10.2Cached · Upstream SHA-256 matchedDownloadaf83cc2e…1f2b18
1.10.3Cached · Upstream SHA-256 matchedDownloadb92c870e…9fd8a0
1.10.4Cached · Upstream SHA-256 matchedDownload1d46f457…3b080f
1.10.5Cached · Upstream SHA-256 matchedDownload994b9c4d…8a7ab7
1.10.6Cached · Upstream SHA-256 matchedDownload0f96934d…31aafd
1.11.0Cached · Upstream SHA-256 matchedDownload9089e055…1f8553
1.12.0Cached · Upstream SHA-256 matchedDownload0232f60f…42db1a
1.13.0Cached · Upstream SHA-256 matchedDownload04b61c46…979237
1.13.1Cached · Upstream SHA-256 matchedDownload27345313…2de7bc
1.14.0Cached · Upstream SHA-256 matchedDownloada990ca04…c456a4
1.14.1Cached · Upstream SHA-256 matchedDownload523cd4cb…9c7976
1.15.0Cached · Upstream SHA-256 matchedDownloadbe7e3019…10e138
1.16.0Cached · Upstream SHA-256 matchedDownload9d6c0895…d5a877
1.17.0Cached · Upstream SHA-256 matchedDownloade23ac786…efeb09
1.17.1Cached · Upstream SHA-256 matchedDownload35f78ab8…38a57c
1.18.0Cached · Upstream SHA-256 matchedDownloadf797a996…3cff3f
1.19.0Cached · Upstream SHA-256 matchedDownload776fc0d7…7e60f2
1.19.1Cached · Upstream SHA-256 matchedDownload8259baf5…4dfebc
1.19.2Cached · Upstream SHA-256 matchedDownload0fee351c…104170
1.20.0Cached · Upstream SHA-256 matchedDownloadd6ea5525…e76164
1.20.1Cached · Upstream SHA-256 matchedDownload42740c3a…14e111
1.21.0Cached · Upstream SHA-256 matchedDownloadba32a284…d77fdb
1.21.1Cached · Upstream SHA-256 matchedDownload8e2e0150…fbf958
1.22.0Cached · Upstream SHA-256 matchedDownloadd3d3ad91…cc7081
1.23.0Cached · Upstream SHA-256 matchedDownload4267ef73…5d34ce
1.24.0Cached · Upstream SHA-256 matchedDownload4f1d7c13…e57e80
2.0.0Cached · Upstream SHA-256 matchedDownload66be6e15…e4d8c3
2.1.0Cached · Upstream SHA-256 matchedDownload09811bdc…6d7b1b
2.1.1Cached · Upstream SHA-256 matchedDownloade7efae52…437ffe
2.2.0Cached · Upstream SHA-256 matchedDownload76a98f2c…f44d96
2.3.0On demandDownload904bd270…9d70f3
2.4.0Cached · Upstream SHA-256 matchedDownload01962872…263666
2.4.1Cached · Upstream SHA-256 matchedDownloadc129209b…4e4355
2.5.0Cached · Upstream SHA-256 matchedDownloadbe13e431…d561f8
2.6.0Cached · Upstream SHA-256 matchedDownload8421b0d0…e8b92f
2.6.1Cached · Upstream SHA-256 matchedDownload46b80acf…ec1a6e
2.7.0Cached · Upstream SHA-256 matchedDownloadfe30ac23…1e43f7
2.7.1Cached · Upstream SHA-256 matchedDownload1c121a47…317d32
2.8.0Cached · Upstream SHA-256 matchedDownload75f747ca…64a394
2.9.0Cached · Upstream SHA-256 matchedDownloaded611fb8…a4ac07
2.10.0Cached · Upstream SHA-256 matchedDownload239e4ac6…bb7316
2.11.0Cached · Upstream SHA-256 matchedDownloaddcf54c17…236be0
2.12.0Cached · Upstream SHA-256 matchedDownload4491238f…e96682
2.13.0Cached · Upstream SHA-256 matchedDownload250678b8…077379
2.13.1Cached · Upstream SHA-256 matchedDownloade9b36b39…0a56c6
2.14.0Cached · Upstream SHA-256 matchedDownloada4a99204…dd98be
2.15.0Cached · Upstream SHA-256 matchedDownload2e9324f7…1c8192
2.15.1Cached · Upstream SHA-256 matchedDownloadc7813217…25f389
2.16.0Cached · Upstream SHA-256 matchedDownload675c209c…a4d93d
2.17.0Cached · Upstream SHA-256 matchedDownload95580fa0…9e6ece
2.18.0Cached · Upstream SHA-256 matchedDownload761d0a00…04b1e1
2.19.0Cached · Upstream SHA-256 matchedDownload57bba167…3cdd00
2.20.0Cached · Upstream SHA-256 matchedDownload37299e49…a2ef4d
2.21.0Cached · Upstream SHA-256 matchedDownload7706f4ad…5cbb9e
2.22.0Cached · Upstream SHA-256 matchedDownload45f3f9ba…e01dc3
2.23.0Cached · Upstream SHA-256 matchedDownload471b46ea…f56446
2.24.0Cached · Upstream SHA-256 matchedDownloadd301561d…835efb
2.24.1Cached · Upstream SHA-256 matchedDownload070eb6ee…566264
2.24.2Cached · Upstream SHA-256 matchedDownload96607c0e…5d40bb
2.25.0Cached · Upstream SHA-256 matchedDownloadb6e8e290…87c623
2.25.1Cached · Upstream SHA-256 matchedDownloadd51386e4…6d5e09
2.25.2Cached · Upstream SHA-256 matchedDownload4761e568…aa6d04
2.25.3Cached · Upstream SHA-256 matchedDownload0b066f2d…175a5c
2.25.4Cached · Upstream SHA-256 matchedDownload7e049e32…d76445
2.25.5Cached · Upstream SHA-256 matchedDownload797379ea…69176d
2.26.0Cached · Upstream SHA-256 matchedDownloada746f861…87de2b
2.27.0Cached · Upstream SHA-256 matchedDownload53316975…d1c4f9
2.27.1Cached · Upstream SHA-256 matchedDownload67bf0d5f…3254ed
2.27.2Cached · Upstream SHA-256 matchedDownload4e8728ed…18c94f
2.28.0Cached · Upstream SHA-256 matchedDownload4b45655e…f93d0a
2.29.0Cached · Upstream SHA-256 matchedDownloada864d1b6…d187fe
2.30.0Cached · Upstream SHA-256 matchedDownload6b1152a5…fa7531
2.30.1Cached · Upstream SHA-256 matchedDownload4aef2a23…d63284
2.31.0Cached · Upstream SHA-256 matchedDownload372d94ce…7d27bf
2.31.1Cached · Upstream SHA-256 matchedDownload4b5100e2…3406f8
2.32.0Cached · Upstream SHA-256 matchedDownload26de145b…fc856c
3.0.0Cached · Upstream SHA-256 matchedDownload0d436d29…3b0d02
3.1.0Cached · Upstream SHA-256 matchedDownloadfae4ab43…d7816a
3.1.1Cached · Upstream SHA-256 matchedDownload1e06b053…ca4b28
3.2.0Cached · Upstream SHA-256 matchedDownload5159984c…66a4d5
3.3.0Cached · Upstream SHA-256 matchedDownload3187f4f8…d94f92
3.4.0Cached · Upstream SHA-256 matchedDownload06537da2…afc9ff
3.4.1Cached · Upstream SHA-256 matchedDownload40921de9…626a88
3.5.0Cached · Upstream SHA-256 matchedDownloadc7de9354…277cfb
3.6.0Cached · Upstream SHA-256 matchedDownload51dfe2fb…34de96
3.7.0Cached · Upstream SHA-256 matchedDownloade59141ff…436738
3.8.0Cached · Upstream SHA-256 matchedDownload2438a75a…5ce553
3.8.1Cached · Upstream SHA-256 matchedDownloadfef81a53…a03da2
3.9.0Cached · Upstream SHA-256 matchedDownload15d761b9…7fdbde
3.10.0Cached · Upstream SHA-256 matchedDownload0307c1fd…f7c568
3.10.1Cached · Upstream SHA-256 matchedDownloadd851c1ca…9069f5
3.11.0Cached · Upstream SHA-256 matchedDownload93dc4dd1…0bfc33
3.12.0Cached · Upstream SHA-256 matchedDownload6a4ea0f1…71d1b8
3.12.1Cached · Upstream SHA-256 matchedDownloadf4d8f495…685d8b
3.13.0Cached · Upstream SHA-256 matchedDownload017d17d9…97debe
3.13.1Cached · Upstream SHA-256 matchedDownload8cfe3c90…6353b6
3.14.0Cached · Upstream SHA-256 matchedDownload420d9111…94f608
3.15.0Cached · Upstream SHA-256 matchedDownload5bba5924…c20644
3.15.1Cached · Upstream SHA-256 matchedDownloadc6e8a6bf…b82e9f
3.15.2Cached · Upstream SHA-256 matchedDownload7be63a3f…c995c5
4.0.0Cached · Upstream SHA-256 matchedDownload6b343e6f…fca457
4.1.0Cached · Upstream SHA-256 matchedDownload967dae9a…a46927
4.1.1Cached · Upstream SHA-256 matchedDownload4dd96f05…1ce0ee
4.2.0Cached · Upstream SHA-256 matchedDownload132e1c31…978f03
4.2.1Cached · Upstream SHA-256 matchedDownload1f2dfd9f…88927c
4.3.0Cached · Upstream SHA-256 matchedDownload29cfa93c…f4eba9
4.4.0Cached · Upstream SHA-256 matchedDownload923085c8…8abf80
4.5.0Cached · Upstream SHA-256 matchedDownloadf0997fee…977fbb
4.6.0Cached · Upstream SHA-256 matchedDownload2f988dab…10c8cc
4.7.0Cached · Upstream SHA-256 matchedDownloadd5a94b88…0f9158
4.8.0Cached · Upstream SHA-256 matchedDownload15bf6f85…b7664e
4.9.0Cached · Upstream SHA-256 matchedDownload93a5bde9…9d9ff6
4.10.0Cached · Upstream SHA-256 matchedDownloadec46a100…6bd9f9
4.11.0Cached · Upstream SHA-256 matchedDownloadd2625088…4d0d16
4.12.0Cached · Upstream SHA-256 matchedDownloade744b634…e60823
4.12.1Cached · Upstream SHA-256 matchedDownload6f22d1c6…8860c9
4.13.0Cached · Upstream SHA-256 matchedDownload9478ca67…dcf764
4.14.0Cached · Upstream SHA-256 matchedDownload2343710d…60fdf1
4.15.0Cached · Upstream SHA-256 matchedDownload5fbbaa2a…d7b680
4.15.1Cached · Upstream SHA-256 matchedDownload6b8d073c…a0b2bc
4.15.2Cached · Upstream SHA-256 matchedDownload253da727…252e35
5.0.0Cached · Upstream SHA-256 matchedDownload7d4306a9…a74743
5.1.0Cached · Upstream SHA-256 matchedDownload21551c12…8638fc

Dependencies

firebase_core_platform_interface "^8.1.1"

firebase_core_web "^3.11.0"

flutter { "sdk": "flutter" }

meta "^1.8.0"