Open JCKodel opened 1 month ago
Hey @JCKodel, I was able to reproduce but still unsure about how to fix this. Might be something with a specific Android emulator version.
Hey @JCKodel, I was able to reproduce but still unsure about how to fix this. Might be something with a specific Android emulator version.
The important part is that you are aware.
Just FYI, I'm using the emulator that came with latest Android Studio:
Android version: 13.0 (T) - API 33 Emulator version: 34.2.16-12038310
I also have this problem on the real machine, can't go back to the app
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
Android
Description
Using this code:
On a real device, the browser opens, I log in to my Apple account, then it returns to my app with
currentUser
filled. All normal.On Android emulator, the behaviour is different: the user IS authenticated, but the browser doesn't close, and it goes back to the sign-in page. Everything works fine (I am authenticated), but the browser never redirects back to the app.
Reproducing the issue
Use the code above on an Android Emulator.
I'm using Windows with a Pixel 3, Android 13.
Firebase Core version
3.2.0
Flutter Version
3.22.3
Relevant Log Output
Additional context and comments
No response