react-native-google-signin / google-signin

Google Sign-in for your React Native applications
https://react-native-google-signin.github.io/
MIT License
3.12k stars 877 forks source link

Google sign in with sensitive scope is not working on android. Something went wrong appear. #1215

Closed qasim483 closed 7 months ago

qasim483 commented 8 months ago

"react-native": "0.70.6", "@react-native-google-signin/google-signin": "10.1.0",

I am trying to sign in with this "https://www.googleapis.com/auth/youtube". It does not work if I use any sensitive scope. If I remove any sensitive scope then it works.

I have enabled "testing" in OAuth consent screen in console.cloud.google.com. I have added scopes in OAuth consent screen. I have added test user.

It's working fine on iOS. But not working on android.

Please look at this youtube video. I have explained the problem. https://www.youtube.com/watch?v=PWJgNaumikk

qasim483 commented 7 months ago

I have figured it out. it was only happening with the debug version. and not with the signed app that I downloaded from playstore.