SdkboxPlay Login, Achievements works.
However, SavedGame has no response or logs.
(saveGameDataBinary, loadOneGameData, fetchGameDataNames, loadAllGameData)
sdkbox_config.json
"sdkboxplay":{ "debug":true, "cloud_save":true, "show_achievement_notification":true, "connect_on_start":false, "achievements":[ { "id": "CgkIs6Ct9NceEAIQAw", "name": "TEST", "incremental": false } ] }
Logcat msg.
I/SDKBOX_CORE: Initialization request for plugin: ‘com/sdkbox/plugin/SdkboxGPGAuthentication’
I/SDKBOX_CORE: Initialization request for plugin: ‘com/sdkbox/plugin/SdkboxGPGLeaderboards’
I/SdkboxGPGLeaderboards: Leaderboard info is null.
I/SDKBOX_CORE: Initialization request for plugin: ‘com/sdkbox/plugin/SdkboxGPGAchievements’
Plugin does not initialize SdkboxGPGSavedGame.
I did not install the Google Play Services SDK from sdkbox, but set it as follows:
build.gradle
dependencies {
implementation ‘com.android.support:multidex:1.0.3’
implementation ‘com.google.firebase:firebase-core:17.0.0’
implementation ‘com.google.firebase:firebase-analytics:17.0.0’
implementation ‘com.google.android.gms:play-services-ads:18.0.0’
implementation ‘com.unity3d.ads:unity-ads:3.1.0’
implementation ‘com.google.ads.mediation:unity:3.1.0.0’
implementation ‘com.google.android.gms:play-services-base:17.0.0’
implementation ‘com.google.android.gms:play-services-auth:17.0.0’
implementation ‘com.google.android.gms:play-services-games:18.0.0’
implementation ‘com.google.android.gms:play-services-drive:17.0.0’
implementation ‘com.google.firebase.messaging.cpp:firebase_messaging_cpp@aar’
implementation ‘com.google.firebase:firebase-messaging:19.0.0’
implementation ‘com.google.firebase:firebase-invites:17.0.0’
implementation ‘com.crashlytics.sdk.android:crashlytics:2.10.1’
implementation ‘com.crashlytics.sdk.android:crashlytics-ndk:2.1.0’
implementation fileTree(include: [’.jar’], dir: ‘libs’)
implementation project(’:libcocos2dx’)
implementation fileTree(include: [’.jar’], dir: ‘libs’)
}