feat(firebase_core): v1 rework (#7) #2890
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Co-authored-by: @Ehesp
Co-authored-by: @greghesp
Co-authored-by: @helenaford
Co-authored-by: @kirstywilliams
Co-authored-by: @Salakar
NEW DOCUMENTATION.
Description
As part of our on-going work for #2582 this is our finalised Firebase core rework changes.
Firebase Core changes
DEPRECATED:
FirebaseApp.configure
method is now deprecated in favor of theFirebase.initializeApp
method.DEPRECATED:
FirebaseApp.allApps
method is now deprecated in favor of theFirebase.apps
property.allApps
was asynchronous & is now synchronous.DEPRECATED:
FirebaseApp.appNamed
method is now deprecated in favor of theFirebase.app
method.BREAKING:
FirebaseApp.options
getter is now synchronous.FirebaseOptions
has been reworked to better match web property names:googleAppID
is now deprecated in favor ofappId
.projectID
is now deprecated in favor ofprojectId
.bundleID
is now deprecated in favor ofbundleId
.clientID
is now deprecated in favor ofandroidClientId
.trackingID
is now deprecated in favor oftrackingId
.gcmSenderID
is now deprecated in favor ofmessagingSenderId
.authDomain
.trackingId
.apiKey
,appId
,messagingSenderId
&projectId
.NEW: Added support for deleting Firebase app instances via the
delete
method onFirebaseApp
.NEW iOS: The default Firebase app is now automatically configured without needing to manually add Objective-C code to your iOS application.
NEW: Added support for returning consistent error messages from
firebase-dart
plugin.FirebaseException
.NEW: Added a
FirebaseException
class to handle all FlutterFire related errors.NEW: Added support for
setAutomaticDataCollectionEnabled
&isAutomaticDataCollectionEnabled
on aFirebaseApp
instance.NEW: Added support for
setAutomaticResourceManagementEnabled
on aFirebaseApp
instance.Android: Gradle build tools updated to 3.5.0 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 Remove Gradle hacks and upgrade SDK flutter/plugins#2651Android: Switched to using Firebase BoM to manage SDK versions
Other plugins changes
e2e
dev dependency to latest version on all plugins & examples.Related Issues
Related Pull Requests
Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?