[lua]
settings = {
orientation = {
default = “portrait”,
supported = { “portrait”, }
},
iphone = {
plist = {
UIStatusBarHidden = true,
UIPrerenderedIcon = true, – set to false for “shine” overlay
CFBundleDisplayName = “O.C.D.”,
CFBundleName = “O.C.D.”,
UIAppFonts =
{
“ocd_light_ex.ttf”,
“bubble.ttf”,
“type_light.ttf”,
“type_bold.ttf”,
},
–[[UILaunchImages ={
{ – iPhone 4 Portrait
[“UILaunchImageMinimumOSVersion”] = “7.0”,
[“UILaunchImageName”] = “Default”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{320, 480}”
},
{ – iPhone 5 Portrait
[“UILaunchImageMinimumOSVersion”] = “7.0”,
[“UILaunchImageName”] = “Default-568h”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{320, 568}”
},
{ – iPad Portrait
[“UILaunchImageMinimumOSVersion”] = “7.0”,
[“UILaunchImageName”] = “Default-Portrait”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{768, 1024}”
},
{ – iPhone 6 Portrait
[“UILaunchImageMinimumOSVersion”] = “8.0”,
[“UILaunchImageName”] = “Default-667h”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{375, 667}”
{ – iPhone 6 Plus Portrait
[“UILaunchImageMinimumOSVersion”] = “8.0”,
[“UILaunchImageName”] = “Default-736h”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{414, 736}”
},
{ – iPad Pro Portrait
[“UILaunchImageMinimumOSVersion”] = “9.0”,
[“UILaunchImageName”] = “Default-Portrait-1336”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{1024, 1366}”
},
},–]]
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-Small.png”,
“Icon-Small@2x.png”,
“Icon-Small@3x.png”,
“Icon-Small-40.png”,
“Icon-Small-40@2x.png”,
“Icon-Small-40@3x.png”,
“Icon-Small-50.png”,
“Icon-Small-50@2x.png”,
},
FacebookAppID = “457988257718163”, --replace XXXXXXXXXX with your Facebook App ID
CFBundleURLTypes =
{
{ CFBundleURLSchemes = { “fb457988257718163”, } } --replace XXXXXXXXXX with your Facebook App ID
},
[“URL types”] =
{
item =
{
[“URL Schemes”] = { [“Item 0”] = “fb457988257718163” }, --replace XXXXXXXXXX with your Facebook App ID
},
},
– 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,
},
},
},
– Whitelist Facebook Apps
LSApplicationQueriesSchemes =
{
“fb”,
“fbapi20130214”,
“fbapi20130410”,
“fbapi20140410”,
“fbapi20140116”,
“fbapi20150313”,
“fbapi20150629”,
“fbauth”,
“fbauth2”,
“fb-messenger-api20140430”,
},
CFBundleShortVersionString = “2.5”,
CFBundleVersion = “2.5”,
MinimumOSVersion = “7.0”,
}
},
– Android permissions
android =
{
versionCode = “17”,
allowAppsReadOnlyAccessToFiles = false,
minSdkVersion = “10”,
supportsScreens =
{
smallScreens = true,
normalScreens = true,
largeScreens = true,
xlargeScreens = true,
},
facebookAppId = “457988257718163”,
},
androidPermissions = {
“android.permission.INTERNET”,
“com.android.vending.BILLING”,
},
plugins =
{
[“plugin.google.iap.v3”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { android=true }
},
[“facebook”] = {
publisherId = “com.coronalabs”
},
},
}
[/lua]