Is there a way of implementing Google signin that does not require Google Play Services? I'm aware that the official docs says that you need GPS:
• https://developers.google.com/identity/sign-in/android/start-integrating
however I also found conflicting information here:
• Google Plus Login without Google Play Services
that says that using Google+ Api you can implement the login without the user having GPS. Which is true? Can you technically implement login without GPS or not? If you can it would be nice to use as a fallback for users who can't download GPS for whatever reason.
You can use the Android Account Manager to get an access token (if the user has signed in with his/her Google Account on the phone):
If that is not what you want, you can always sign a user in using pure OAuth2 through a WebView. Here are some resources to get you started:
If you choose to use a webview you will have to handle access/refresh tokens manually, which might or might not be convenient for you.
Good Luck!
Edit: You mentioned G+ in your post, so here is some information on how to add G+ scopes to your request:
(Choose a scope that you need and include it in your request for access/refresh token)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With