Skip to content

Commit

Permalink
Add specific instructions for troubleshooting launch mode and task af…
Browse files Browse the repository at this point in the history
…finity on Android

Fixes #113
  • Loading branch information
ThexXTURBOXx authored Sep 2, 2024
1 parent 8587156 commit 73f9189
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flutter_web_auth_2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ When you use this package for the first time, you may experience some problems.
- If you want to have a callback URL with `http` or `https` scheme, you also need to specify a host etc.
See [c:geo](https://github.com/cgeo/cgeo/blob/d7ab67629ac4798adaae194e563afe7df134fcd0/main/AndroidManifest.xml#L164) as an example for this.
- 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.
### Troubleshooting OAuth redirects
Expand Down

0 comments on commit 73f9189

Please sign in to comment.