react-native-google-signin / google-signin

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

Cannot add restricted scope at sign in on Android #1137

Closed barrymcgee closed 1 year ago

barrymcgee commented 1 year ago

Steps to Reproduce

Forked and added example of a restricted scope (gmail.readonly):

https://github.com/barrymcgee/google-signin/blob/master/example/src/App.tsx#L172

Expected Behavior

Scope should be granted on Android

Actual Behavior

Scope is not granted on Android

Environment

Please provide

vonovak commented 1 year ago

Hello and thanks for asking, the scope you want to use is https://www.googleapis.com/auth/gmail.readonly Thank you 🙂