-
Notifications
You must be signed in to change notification settings - Fork 1.9k
docs: create migration guide for version 9.0.0 #2185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
223b83d
bump version in Config.kt (9.0.0)
thatfiredev 7041541
docs: update README.md with version 9.0.0
thatfiredev f1ea00e
remove `-SNAPSHOT`
thatfiredev 08d7d40
docs: create migration guide for v9.0
thatfiredev fe7191d
Revert -SNAPSHOT change
thatfiredev f621629
docs: replace Smart Lock with Credential Manager
thatfiredev c5226d4
Merge branch 'version-9.0.0-dev' into rpf/misc-release-prep
thatfiredev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Upgrading to FirebaseUI 9.0 | ||
|
||
FirebaseUI version `9.0.0` has significant breaking API changes and also adopts new major versions | ||
of many critical dependencies. Below is a description of each breaking change. | ||
|
||
## All - Update to Firebase BoM 33 | ||
|
||
FirebaseUI now depends on the Firebase SDK at BoM major version `33.9.0`. You should update your | ||
app to use the same major version to avoid possible compilation errors or crashes. | ||
|
||
For more information on this SDK release see the | ||
[Firebase Android SDK release notes](https://firebase.google.com/support/release-notes/android#bom_v33-9-0). | ||
|
||
Release Notes for other BoM versions with breaking changes: | ||
- [Firebase Android SDK BoM 32.0.0](https://firebase.google.com/support/release-notes/android#bom_v32-0-0) | ||
- [Firebase Android SDK BoM 31.0.0](https://firebase.google.com/support/release-notes/android#bom_v31-0-0) | ||
- [Firebase Android SDK BoM 30.0.0](https://firebase.google.com/support/release-notes/android#bom_v30-0-0) | ||
- [Firebase Android SDK BoM 29.0.0](https://firebase.google.com/support/release-notes/android#bom_v29-0-0) | ||
|
||
## Auth - Remove Smart Lock | ||
|
||
[Smart Lock for Passwords](https://developers.google.com/identity/smartlock-passwords/android/overview) | ||
, which was deprecated in 2022, is now removed from the Google Play Services Auth SDK | ||
(`com.google.android.gms:play-services-auth`). | ||
FirebaseUI Android has been updated to use [Credential Manager](https://developer.android.com/training/sign-in/passkeys) | ||
instead. | ||
|
||
Due to this change, some APIs have changed: | ||
|
||
- The `AuthUI#setIsSmartLockEnabled(boolean enableCredentials)` method has been replaced with the new | ||
`setCredentialManagerEnabled(Boolean)` method. | ||
- The `AuthUI#setIsSmartLockEnabled(boolean enableCredentials, boolean enableHints)` method has been | ||
removed with no replacement (for now). | ||
marinacoelho marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- The `AuthUI#silentSignIn()` method has been removed with no replacement. | ||
|
||
## Auth - (behavior change) new Email authentication flow | ||
|
||
Versions 8.x and older of FirebaseUI relied on methods like `fetchSignInForEmail`, which | ||
now fail with the introduction of | ||
[Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection). | ||
|
||
Version 9.0 removed those methods and now shows a different flow for email sign in and sign up. | ||
|
||
## Auth - Removed SafetyNet | ||
|
||
[Firebase Auth v22.0.0](https://firebase.google.com/support/release-notes/android#auth_v22-0-0) | ||
removed SafetyNet support for app verification during phone number authentication. |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.