Using Google Play Service SDK with Android Native

The Android Native plugin has own event-driven implementation of Google Play Service SDK.

Few month ago  Google releases own Unity plugin for Google Play. If you prefer to use this plugin instead Google Play SDK implementation in Android native You can definitely do this. But you should remove conflicts since both plugins has same SDK implementation.

Disable Google Play API:

 

Remove following lines from manifest:

<!-- Google Play Service Block Start -->
<meta-data android:name="com.google.android.gms.games.APP_ID" android:value="@string/app_id" />
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
<!-- Block End -->

   
<!-- Google Cloud Service Block Start -->
<meta-data android:name="com.google.android.gms.appstate.APP_ID" android:value="@string/app_id" />
<!-- Block End â>

and

<uses-sdk android:minSdkVersion="<version>" android:targetSdkVersion="<version>" />

 

That’s it. All conflicts resolved.