Skip to content

Commit 73f9189

Browse files
authored
Add specific instructions for troubleshooting launch mode and task affinity on Android
Fixes #113
1 parent 8587156 commit 73f9189

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

flutter_web_auth_2/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ When you use this package for the first time, you may experience some problems.
302302
303303
- If you want to have a callback URL with `http` or `https` scheme, you also need to specify a host etc.
304304
See [c:geo](https://github.com/cgeo/cgeo/blob/d7ab67629ac4798adaae194e563afe7df134fcd0/main/AndroidManifest.xml#L164) as an example for this.
305+
- There is also a known problem with task affinities and launch modes (see [#113](https://github.com/ThexXTURBOXx/flutter_web_auth_2/issues/113)). In order to ensure that `flutter_web_auth_2` works correctly, set `android:launchMode="singleTop"` and remove any `android:taskAffinity` entries. This configuration is guaranteed to work.
305306
306307
### Troubleshooting OAuth redirects
307308

0 commit comments

Comments
 (0)