Type Library Revision Release 2022.3683 Keywords google, google play games services, achievements, leaderboards, multiplayer Platforms Android Sample https://github.com/coronalabs/com.coronalabs-plugin.gpgs.v2
The Google Play Games Services plugin enables access to
GPGSv2 no longer supports multiplayer and Google has stopped supporting multiplayer as of March 31, 2020. See legacy plugin for access to multiplayer apis.
Formerly, this plugin was also compatible with iOS, but Google no longer supports integration with iOS. If you previously implemented this service on iOS, you should migrate that implementation to another service.
If you encounter
local gpgs = require( "plugin.gpgs.v2" )
To use this plugin, add an entry into the plugins
table of build.settings
. When added, the build server will integrate the plugin during the build phase.
settings = { plugins = { ["plugin.gpgs.v2"] = { publisherId = "com.coronalabs", } } }
Additionally, you must specify the android
table of build.settings
as the googlePlayGamesAppId
key:
settings = { android = { googlePlayGamesAppId = "YOUR_APPLICATION_ID", }, }
The plugin is divided into API nodes for better organization.
This is the base API node for the plugin. It manages connection to the Google's servers, authentication and general SDK tasks.