Update on the new GPGS v2 plugin

posted in Corona Labs Blog
Published October 31, 2018 Imported
Advertisement

google-play-badge-150x150.pngCorona Labs would like to update you about our recent plugin for Google Play Games Services. This plugin is known as GPGS v2 and there is a breaking change to be aware of.

We’ve worked hard to make it call compatible with the older GPGS v1 plugin, however Google has changed their initialization and login process significantly. We had to make a change that you will need to adapt to so that you can successfully login and know if your app is connected.

Simply remove any calls to the gpgs.init() API and instead call gpgs.login() directly:

gpgs.login( { userInitiated=true, listener=gpgsLoginListener } )

Where gpgsLoginListener is the name of your function to handle a successful login. If you have questions about the plugin, please joins us in our community forums.


View the full article

0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement