Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Google SignIn (GooglePlus) & Android Problems

$
0
0

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:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>