google / google-authenticator-android

Open source fork of the Google Authenticator Android app
https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2
Apache License 2.0
1.59k stars 471 forks source link

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

Open emilianocds opened 3 years ago

emilianocds commented 3 years ago

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.

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.

Additional Information

ThomasHabets commented 3 years ago

Please check one of the boxes in the template.

ThomasHabets commented 3 years ago

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 commented 3 years ago

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.