– Supported values for orientation:
– portrait, portraitUpsideDown, landscapeLeft, landscapeRight
settings = {
excludeFiles =
{
--all = { “*secret.txt”, “artwork/*” },
iphone = { “Icon-*dpi.png” },
android = { “Icon.png”, “512x512.png”, “1024x1024.png” }
},
orientation =
{
default = “portrait”, – Initial launch orientation
content = “portrait”, – Locked orientation of the Corona stage, independent of Native UI elements (iOS only)
supported = {“portrait” }, – Table of allowed options for auto-orientation
},
plugins =
{
[“CoronaProvider.native.popup.social”] =
{
publisherId = “com.coronalabs”
},
[“plugin.photon”] =
{
publisherId = “com.exitgames”,
},
[“plugin.openssl”] =
{
publisherId = “com.coronalabs”,
– supportedPlatforms = { android = true, iphone = true, [“mac-sim”] = true, [“win32-sim”] = true },
},
– [“plugin.notifications”] =
– {
– publisherId = “com.coronalabs”
– },
[“facebook”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true },
},
[“CoronaProvider.gameNetwork.apple”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true }
},
[“CoronaProvider.gameNetwork.google”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { android=true },
},
[“plugin.google.iap.v3”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { android=true }
},
--[“plugin.zip”] =
--{
– publisherId = “com.coronalabs”
--},
[“plugin.gameanalytics”] =
{
publisherId = “com.gameanalytics”,
},
[“plugin.advertisingId”] =
{
publisherId = “com.coronalabs”
},
[“plugin.OneSignal”] =
{
publisherId = “com.onesignal”,
},
[“plugin.google.play.services”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { android=true, [“android-kindle”]=true },
},
[“plugin.chartboost”] =
{
publisherId = “com.swipeware”
},
},
iphone = {
plist = {
--UILaunchStoryboardName = “LaunchScreen”,
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png”,
“Icon@2x.png”,
“Icon-60.png”,
“Icon-60@2x.png”,
“Icon-60@3x.png”,
“Icon-72.png”,
“Icon-72@2x.png”,
“Icon-76.png”,
“Icon-76@2x.png”,
“Icon-167.png”,
“Icon-Small-40.png”,
“Icon-Small-40@2x.png”,
“Icon-Small-40@3x.png”,
“Icon-Small-50.png”,
“Icon-Small-50@2x.png”,
“Icon-Small.png”,
“Icon-Small@2x.png”,
“Icon-Small@3x.png”
},
– CoronaWindowMovesWhenKeyboardAppears = true,
UIBackgroundModes = {“remote-notification”},
UIApplicationExitsOnSuspend = false,
UIStatusBarHidden = true,
UIPrerenderedIcon = true,
UIAppFonts =
{
“calibri.ttf”,
“calibrib.ttf”,
“calibrii.ttf”,
“calibriz.ttf”
},
FacebookAppID = “XXXXXXXXXX”,
CFBundleURLTypes =
{
{
CFBundleURLSchemes =
{
“fbXXXXXXXXXX”,
}
}
},
--CFBundleIdentifier = “com.dragongamestudio.dragonslots”,
CFBundleIdentifier = “com.XXXXXXXXXX.XXXXXXXXXX”,
[“URL types”] =
{
item =
{
[“URL Schemes”] = { [“Item 0”] = “fbXXXXXXXXXX” },
},
},
plist =
{
CoronaDelegates = { “CoronaNotificationsDelegate”}
},
– Whitelist Facebook Servers for Network Requests
NSAppTransportSecurity =
{
NSExceptionDomains =
{
[“fbcdn.net”] =
{
NSIncludesSubdomains = true,
NSExceptionRequiresForwardSecrecy = false,
},
[“facebook.com”] =
{
NSIncludesSubdomains = true,
NSExceptionRequiresForwardSecrecy = false,
},
[“akamaihd.net”] =
{
NSIncludesSubdomains = true,
NSExceptionRequiresForwardSecrecy = false,
},
[“api.gameanalytics.com”]={
NSIncludesSubdomains = true,
NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
},
},
},
– Whitelist Facebook Apps
LSApplicationQueriesSchemes =
{
“fb”,
“fbapi20130214”,
“fbapi20130410”,
“fbapi20140410”,
“fbapi20140116”,
“fbapi20150313”,
“fbapi20150629”,
“fbauth”,
“fbauth2”,
“fb-messenger-api20140430”,
},
},
},
android =
{
– coronaWindowMovesWhenKeyboardAppears = true,
googlePlayGamesAppId = “XXXXXXXXXX”,
facebookAppId = “XXXXXXXXXX”, – Replace XXXXXXXXXX with your Facebook App ID
CFBundleDisplayName = “XXXXXXXXXX”,
CFBundleName = “com.XXXXXXXXXX.XXXXXXXXXX”,
UIApplicationExitsOnSuspend = false,
UIPrerenderedIcon = true,
UIStatusBarHidden = true,
permissions =
{
{ name = “.permission.C2D_MESSAGE”, protectionLevel = “signature” },
},
--usesExpansionFile = true,
usesPermissions =
{
“com.android.vending.BILLING”,
“android.permission.INTERNET”,
“android.permission.READ_PHONE_STATE”,
“android.permission.VIBRATE”,
“android.permission.ACCESS_NETWORK_STATE”,
“android.permission.GET_ACCOUNTS”,
“android.permission.RECEIVE_BOOT_COMPLETED”,
“com.google.android.c2dm.permission.RECEIVE”,
“.permission.C2D_MESSAGE”,
“com.android.vending.CHECK_LICENSE”,
“android.permission.WRITE_EXTERNAL_STORAGE”
},
androidPermissions =
{
“com.android.vending.BILLING”,
“android.permission.INTERNET”,
“android.permission.READ_PHONE_STATE”,
“android.permission.VIBRATE”,
“android.permission.ACCESS_NETWORK_STATE”,
“android.permission.GET_ACCOUNTS”,
“android.permission.RECEIVE_BOOT_COMPLETED”,
“com.google.android.c2dm.permission.RECEIVE”,
“.permission.C2D_MESSAGE”,
“com.android.vending.CHECK_LICENSE”,
“android.permission.WRITE_EXTERNAL_STORAGE”
},
},
}