You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: flutter_web_auth_2/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,7 @@ The following constraints have been added in `5.0.0`:
93
93
- Android now uses Auth Tab: `httpsHost` and `httpsPath` are now required on Android if you are using a `https` in `callbackUrlScheme`
94
94
- On Android, issues with `taskAffinity`s have been fixed and it is strongly advised to set `android:taskAffinity=""` for all exported `Activity`s (this usually includes your `MainActivity` and `flutter_web_auth_2`'s `CallbackActivity`)
95
95
- Dart SDK `>=3.5.0` is now required (due to migration to melos `7.x`)
96
+
- If you want ephemeral authentication on Android, use `preferEphemeral` instead of `ephemeralIntentFlags` as `intentFlags` have other influences now
96
97
97
98
### Upgrading to `4.x`
98
99
@@ -140,7 +141,7 @@ possibilities. Even platform-specific ones! If you want to upgrade, you need to
140
141
- `preferEphemeral`: This has been split into the two named parameters `preferEphemeral` (for
141
142
iOS and MacOS) and `intentFlags` (for Android) within `FlutterWebAuth2Options`. The former works
142
143
exactly the same. However, if you want the old behaviour using `preferEphemeral` on Android, use
143
-
the `ephemeralIntentFlags` constant as value for `intentFlags`.
144
+
the `ephemeralIntentFlags` constant as value for `intentFlags`. **(THIS WAS REVERTED IN 5.x)**
0 commit comments