Google Play Services, OAuth

How integrate OAuth 2.0 Client ID with the android app in Corona?

http://docs.coronalabs.com/plugin/gameNetwork-google/index.html#build.settings

This is App ID, but on Google play says that I have to integrate OAuth 2.0 Client ID with my app, it is given by pasting fingerprint SHA1 from keystore. How to integrate OAuth 2.0 Client ID?

PS. And where can I downlaod services to android? On my GoClever TAB in Android Market I can’t find any google play services app? When I want to use it, do I have to have it, like GameCenter on iOS?

Hi,

You don’t need the OAuth Client ID for Android.  In the documentation on this page:

https://developers.google.com/games/services/console/enabling#step_3_generate_an_oauth_20_client_id

it says " Note:  For Android, you do not need to include the full client ID in your application, as it will be derived automatically from the application ID."

As for your second question, yes you have to have it.  It should automatically be downloaded to your Android device.  To check if its there you can go to the Application screen in your settings menu and then under the “All” tab it should be listed as “Google Play Services”.

http://docs.coronalabs.com/plugin/gameNetwork-google/index.html#build.settings

This is App ID, but on Google play says that I have to integrate OAuth 2.0 Client ID with my app, it is given by pasting fingerprint SHA1 from keystore. How to integrate OAuth 2.0 Client ID?

PS. And where can I downlaod services to android? On my GoClever TAB in Android Market I can’t find any google play services app? When I want to use it, do I have to have it, like GameCenter on iOS?

Hi,

You don’t need the OAuth Client ID for Android.  In the documentation on this page:

https://developers.google.com/games/services/console/enabling#step_3_generate_an_oauth_20_client_id

it says " Note:  For Android, you do not need to include the full client ID in your application, as it will be derived automatically from the application ID."

As for your second question, yes you have to have it.  It should automatically be downloaded to your Android device.  To check if its there you can go to the Application screen in your settings menu and then under the “All” tab it should be listed as “Google Play Services”.