I'm trying to use the Google Fit API in my application, after the user is prompted to choose a Google account the OAuth consent screen should be displayed, however I only get a blank popup with a indefinite loading indicator, this popup will stay like that unless I cancel it.
No error messages are displayed, only if I cancel the sign-in flow I would get an error that I cancelled it.
I have tried on a personal proyect as well as with Google's sample proyect, where other users are also experiencing the same issue.
As I describe on that issue, I have tested both apps on an emulator, a Huawei Pro 20 Lite, and on another device, with four different accounts, but get the same result.
Also have the correct configuration in the Google Cloud Console, using the proper applicationId and SHA1 signing key, I've tried on two different cloud projects, one of them brand new.
The function that launches the sign-in flow is this one, the full code from the sample app can be found here
GoogleSignIn.requestPermissions(
this,
requestCode.ordinal,
getGoogleAccount(), fitnessOptions)
Thanks for any help.
I found a solution, it strange but anyway it works for me:
If this not help, please also check Flutter and google_sign_in plugin: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)
Guys have a similar problem with GoogleSignIn