Skip to content

Commit

Permalink
Add info about native google sign in
Browse files Browse the repository at this point in the history
  • Loading branch information
langerhans authored Jul 24, 2016
1 parent 1500ef9 commit 49c9d7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ You're running the sample code on the UI thread. Strict mode policy will throw a

This library is meant to be a Java implementation of the API. Google Volley is specific to Android and should not be introduced in this library. However, if you still want to refactor it, you should create it as a separate project.

- How can I use Android's native Google sign in with this libary?

You can't. The Google Indentity Platform uses the SHA1 fingerprint and package name to authenticate the caller of all sign in requests. This means that Niantic would need to add your app's SHA1 fingerprint and package name to their Google API Console. If you ever requested a Google Maps API key, you went through the same process. An alternative would be using a WebView to access the web based OAuth flow. This will work with the client ID and secret provided by this library.


## Contributing
- Fork it!
Expand Down

0 comments on commit 49c9d7b

Please sign in to comment.