Google SignIn (GooglePlus) & Android Problems

I’m using GooglePlus plugin for Google SignIn with Firebase. It works normally on IOS and WEB.

But when i try it on Android -with below code- it always ask for permission. I click allow, popup closes but reopening constantly until i click to cancel:

        const gplusUser = await this.googlePlus.login({
          webClientId: 'YY8339XXXXXX1-4jj3ge704rqoyyyd95eplxxxcf0e0hh.apps.googleusercontent.com',
          offline: true,
          scopes: 'https://www.googleapis.com/auth/plus.login',
        })

Then i removed scopes and emulator worked as it’s supposed to be:

        const gplusUser = await this.googlePlus.login({
          webClientId: 'YY8339XXXXXX1-4jj3ge704rqoyyyd95eplxxxcf0e0hh.apps.googleusercontent.com',
          offline: true,
        })

With this code i created a new relese for android BUT people got 12500 error on real devices. Probably it’s about “OAuth consent screen” settings in Google Developers Console. I changed it but needs approval and Google says it can take 4-6 weeks. :roll_eyes:

What are you using for scopes in your working projects? Did you need to set up OAuth consent screen for Android? Or any other idea on this situation? Especially about constantly opening confirm window. :confused:

Btw, i read about Deprecated Scopes like https://www.googleapis.com/auth/plus.login. Google says use profile. When i use profile in scopes, I also got error 12500 with emulator:

Well. I found the solution.

I use SHA certificate fingerprints in Firebase for Android normally as Debug & Release.

BUT in Google Play (under App Signing) there is another SHA-1 fingerprint as App signing key certificate. When i added it to Firebase as third fingerprint 12500 error has gone. Everything works well.

Btw, that thread helped me a lot. Contains many solutions for this problem: