Gamecenter moved to plugin

In the release notes for 2455, it says that gamecenter has been moved to a plugin.  So if our iOS build uses gamecenter, do we have to include a new plugin in our build.settings? If so, what is the plugin called and are there any changes in the docs for how to use gamecenter?

There should be a blog post going out today regarding it.  The documentation should be updated as well, but you need to either look for the daily version.   http://docs.coronalabs.com/daily/api/library/gameNetwork/index.html

It looks like it’s not well formatted.  I’ll remind the folks about that.  Any way here is what you need to add to build.settings:

settings = {      plugins = {           ["CoronaProvider.gameNetwork.apple"] = {               publisherId = "com.coronalabs",               supportedPlatforms = { iphone=true, ["iphone-sim"]=true },            },       }, }

Rob

Thanks Rob.

There should be a blog post going out today regarding it.  The documentation should be updated as well, but you need to either look for the daily version.   http://docs.coronalabs.com/daily/api/library/gameNetwork/index.html

It looks like it’s not well formatted.  I’ll remind the folks about that.  Any way here is what you need to add to build.settings:

settings = {      plugins = {           ["CoronaProvider.gameNetwork.apple"] = {               publisherId = "com.coronalabs",               supportedPlatforms = { iphone=true, ["iphone-sim"]=true },            },       }, }

Rob

Thanks Rob.