Hi all,
My build.settings was fine prior to adding the googlePlayGamesAppId, now its compiling but not utilising the correct settings. But when I use a very basic build.settings , it works but the rest obviously is ommitted. I’m sure I have one too many brackets or something!
Doesnt work:
settings =
{
orientation =
{
default = “portrait”,
supported = { “portrait” }
},
android =
{
{
googlePlayGamesAppId = “90644465066” --long App ID number (use yours!)
},
usesPermissions =
{
“android.permission.INTERNET”,
“android.permission.VIBRATE”,
“android.permission.WRITE_EXTERNAL_STORAGE”,
“com.android.vending.CHECK_LICENSE”,
“com.android.vending.BILLING”,
“android.permission.ACCESS_NETWORK_STATE”
},
},
iphone =
{
plist =
{
UIAppFonts =
{
“AldotheApache.ttf”,
“AREO.ttf”,
“visitor2.ttf”
},
UIStatusBarHidden = false,
UIPrerenderedIcon = false, – set to false for “shine” overlay
UIApplicationExitsOnSuspend = true,
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles =
{
“Icon.png”,
“Icon@2x.png”,
“Icon-72.png”,
},
},
},
plugins =
{
[“CoronaProvider.gameNetwork.google”] =
{
--required!
publisherId = “com.coronalabs”,
},
[“CoronaProvider.ads.vungle”] =
{
publisherId = “com.vungle”,
},
[“CoronaProvider.ads.iads”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone = true },
},
[“CoronaProvider.ads.admob”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { android = true },
},
},
}
Vs.
Works but the rest is not present
settings =
{
orientation =
{
default = “portrait”,
supported = { “portrait” }
},
android =
{
googlePlayGamesAppId = “90644465066”, – Your Google Play Games App Id
},
plugins =
{
– key is the name passed to Lua’s ‘require()’
[“CoronaProvider.gameNetwork.google”] =
{
– required
publisherId = “com.coronalabs”,
supportedPlatforms = { android = true }
},
},
}