Open arthuro555 opened 4 years ago
Just had the same problem and found that it was deprecated along with Google+ integrations. Can't build either.
Google Play Games Service docs using Wayback Machine: https://web.archive.org/web/20170715182309/https://developers.google.com/android/reference/com/google/android/gms/games/request/package-summary
deprecation notice: https://android-developers.googleblog.com/2016/12/games-authentication-adopting-google.html
Found a way to fix it by forcing the versions of com.google.android.gms:play-services-games
to 17.+
and com.google.android.gms:play-services-plus
to 16.+
by changing the plugin variables in package.json
like below. This way, it still using the old libraries that still had the deprecated features
"cordova": {
"plugins": {
"cordova-plugin-play-games-services": {
"APP_ID": "<app_id>",
"ANDROID_PLAY_SERVICES_GAMES_VERSION": "17.+",
"ANDROID_PLAY_SERVICES_PLUS_VERSION": "16.+"
},
}
}
Thanks for the workaround, but the plug-in should still be updated nontheless
It worked! But it should be updated, so we don't get any probs in future when game is published in play.
I cannot build my cordova app with this plugin. The error is that this plugin apparently uses an api that doesn't exist (anymore). The error:
I cannot find GameRequest on https://developers.google.com/android/reference/com/google/android/gms/games/package-summary too.