Skip to main content
Version: 3.x.x

Google

You need to edit AndroidManifest by adding the following elements in to <application>.

gp_enabled - allows to show\hide Google authorization button

google_auth_first_session - using of Google authorization from the first session

Please, ask your release manager for APP_ID and ClientId values.

<meta-data android:name="com.platform101xp.sdk.gp_enabled"
android:value="@bool/gp_enabled"/>
<meta-data android:name="com.google.android.gms.games.APP_ID"
android:value="$your_application_id" />
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"/>
<meta-data android:name="com.google.android.ClientId"
android:value="$your_client_id" />
<meta-data android:name="com.platform101xp.sdk.google_auth_first_session"
android:value="@bool/google_auth_first_session" />