MaikuB / MaikuB/flutter_appauth
authorizeAndExchangeCode not returning on Android 14
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 308
- Forks
- 301
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 5
Description
We have an app that is working well with flutter_appauth for a while (iOS and Android). Recently I upgraded my Android device to Android 14 and now it seems like I can not login (using Google), I get to see the Google account selection but after selecting the account the screen redirects to itself and hangs on the loading state.
All I get in the debug are these messages:
W/AppAuth ( 586): No stored state - unable to handle response
W/iour.app.name( 586): Cleared Reference was only reachable from finalizer (only reported once)
To be clear - same code base has no issues when running in either iOS or Android 11.
Is there a know issue with Android 14?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the authorizeAndExchangeCode entry point and reproduce the Google login flow on Android 14, comparing it with Android 11 and iOS. Inspect the AppAuth warning about missing stored state and the redirect loop; done means the account selection returns successfully and the loading state completes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, flutter
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100