Infinite loading after selecting the account in the dialog for sign in
emilianocds opened this issue · 3 comments
Found a bug in the Android app? Thanks for reporting it! To help us out, fill out this template to the best of your ability.
Please note that the code in this repository is an open source fork of the app in the Play Store, so there is no guarantee that both apps will be in sync. Please check which version of the app your bug applies to below.
- This issue is present in the app downloaded from the [Play Store][playstore].
- This issue is with the [Github version][opensource] of the app.
Describe the Bug
I added the v19.0.0 for google auth in Android and implement all the steps that are in the Google developer page.
I trigger the pop up to select an account for sign in and after that there is a pop up that has a progress bar that loads for ever. I do not get any error on the logcat
Intended Behavior
What did you expect to happen?
Actual Behavior
What actually happened?
Reproducing
How does one encounter this error. If possible, provide steps that we can take, like as shown below:
- val reg = registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { result ->
}
reg.launch(googleSignInClient.signInIntent) - The pop up for selecting account is displayed
- Click on any account
- A new pop up is displayed with a progress bar that loads for ever and its stuck there
Screenshots
Device
Fill out the details about the device and app version in which you encountered the bug.
- Device: Samsung S10+
- OS: Android
- Version 10
Additional Information
Please check one of the boxes in the template.
Actually, I'm sorry I'm not following this bug report at all. Is this even about the Google Authenticator app? You've not filled in the template so it's hard to follow.
same issue here.
how to reproduce.
- Remove gpgs id for good in Play app.
- execute the code
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN)
.requestScopes(Games.SCOPE_GAMES)
.requestProfile()
.requestId()
.requestEmail()
.build();
GoogleSignInClient signInClient = GoogleSignIn.getClient(activity, gso);
Intent intent = signInClient.getSignInIntent();
activity.startActivityForResult(intent, RC_SIGN_IN);
- account select dialog pops up.
- select the account to sign in
- account creation dialog pops up
- click the create button.
- progress bar shows up and doesn't get disappeared.
-
The issue doesn't occur If scopes got eliminated when creating GoogleSignInOptions object.
-
Permission request pops up If SignInIntent got called on another phone with same build.
-
Permission request pops up If few hours elapsed without doing any other action