Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Infinite loading after selecting the account in the dialog for sign in #128

Open
2 tasks
emilianocds opened this issue Jan 12, 2021 · 3 comments
Open
2 tasks
Labels

Comments

@emilianocds
Copy link

emilianocds commented Jan 12, 2021

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:

  1. val reg = registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { result ->
    }
    reg.launch(googleSignInClient.signInIntent)
  2. The pop up for selecting account is displayed
  3. Click on any account
  4. A new pop up is displayed with a progress bar that loads for ever and its stuck there

Screenshots

device-2021-01-12-165631

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

@emilianocds emilianocds changed the title Progress bar is infinite loading after selecting the account in the dialog for sign in Infinite loading after selecting the account in the dialog for sign in Jan 12, 2021
@ThomasHabets
Copy link
Contributor

Please check one of the boxes in the template.

@ThomasHabets
Copy link
Contributor

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.

@goldcrock
Copy link

goldcrock commented Apr 1, 2021

same issue here.

how to reproduce.

  1. Remove gpgs id for good in Play app.
  2. 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);

  1. account select dialog pops up.
  2. select the account to sign in
  3. account creation dialog pops up
  4. click the create button.
  5. 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants