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.configuremethod is now deprecated in favor of theFirebase.initializeAppmethod.DEPRECATED:
FirebaseApp.allAppsmethod is now deprecated in favor of theFirebase.appsproperty.allAppswas asynchronous & is now synchronous.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:googleAppIDis now deprecated in favor ofappId.projectIDis now deprecated in favor ofprojectId.bundleIDis now deprecated in favor ofbundleId.clientIDis now deprecated in favor ofandroidClientId.trackingIDis now deprecated in favor oftrackingId.gcmSenderIDis now deprecated in favor ofmessagingSenderId.authDomain.trackingId.apiKey,appId,messagingSenderId&projectId.NEW: Added support for deleting Firebase app instances via the
deletemethod 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-dartplugin.FirebaseException.NEW: Added a
FirebaseExceptionclass to handle all FlutterFire related errors.NEW: Added support for
setAutomaticDataCollectionEnabled&isAutomaticDataCollectionEnabledon aFirebaseAppinstance.NEW: Added support for
setAutomaticResourceManagementEnabledon aFirebaseAppinstance.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.4to>=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
e2edev 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?