Hello,
I need to update apps on Android that use the Gamenetwork plugin. It is the same code that worked a few months ago, but now it doesn’t init any more. Should this work, or what exactly does “legacy” for the plugin mean?
I use Build 2016.2992.
local function initCallback( event ) gameNetwork.request( "login", { userInitiated=true, listener=gameNetworkLoginCallback } ) native.showAlert( "Alert", "", {"OK"}) -- This alert is never shown, so it does not init. end gameNetwork.init("google", initCallback)
plugins = { ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, ["CoronaProvider.gameNetwork.google"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, ["facebook"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs", }, ["plugin.appodeal"] = { publisherId = "com.coronalabs", supportedPlatforms = {android=true} }, },