Google Play Games Services (legacy)

Type Library
Revision 2017.3060
Keywords gameNetwork, Google Play Games Services
Platforms Android

Overview

Google Play Games Services makes your games more social with capabilities for achievements, leaderboards, and other popular features using the Google Play game services SDK. Let players sign in using their Google+ identities and share their gaming experience with friends.

Note

This is the legacy plugin for Google Play Games Services. We encourage all users to migrate and upgrade to the current Google Play Games Services plugin (documentation) which includes many more features and improved functionality.

Syntax

local gameNetwork = require( "gameNetwork" )

Functions

Project Settings

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 =
    {
        ["CoronaProvider.gameNetwork.google"] =
        {
            publisherId = "com.coronalabs"
        },
    },
}

In addition, you must specify the Google Play Games App ID within the android table of build.settings:

settings =
{
    android =
    {
        googlePlayGamesAppId = "YOUR_APP_ID",
    },
}

Support