Skip to content

Commit 24c0113

Browse files
committed
Update documentation
1 parent ad02381 commit 24c0113

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

flutter_web_auth_2/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ The following constraints have been added in `5.0.0`:
9393
- Android now uses Auth Tab: `httpsHost` and `httpsPath` are now required on Android if you are using a `https` in `callbackUrlScheme`
9494
- 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`)
9595
- 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
9697

9798
### Upgrading to `4.x`
9899

@@ -140,7 +141,7 @@ possibilities. Even platform-specific ones! If you want to upgrade, you need to
140141
- `preferEphemeral`: This has been split into the two named parameters `preferEphemeral` (for
141142
iOS and MacOS) and `intentFlags` (for Android) within `FlutterWebAuth2Options`. The former works
142143
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)**
144145
145146
### Upgrading from `flutter_web_auth`
146147

0 commit comments

Comments
 (0)