settings = {
--custom splash screen
splashScreen =
{
ios = {
enable = true,
image = “logo.png”
},
android = {
enable = true,
image = “logo.png”
}
},
orientation =
{
default = “portrait”,
supported =
{
“portrait”,
“portraitUpsideDown”,
},
},
android =
{
versionCode = “1”,
usesPermissions =
{
“android.permission.CAMERA”, --camera
“android.permission.RECORD_AUDIO”, --audio recorder/access to mic
“com.android.vending.BILLING”,
“android.permission.WRITE_EXTERNAL_STORAGE”,
“android.permission.INTERNET”
},
googlePlayGamesAppId = “xxxxxxxxxxx”, – Your Google Play Games App Id
facebookAppId = “xxxxxxxxxxx”
},
iphone =
{
components = {},
plist =
{
NSCalendarsUsageDescription = “Did not use this”,
NSContactsUsageDescription = “This app would like to access your contacts.”,
NSCameraUsageDescription = “This app would like to access the camera.”, --allow access to camera
NSPhotoLibraryUsageDescription = “This app would like to access the photo library.”, --allow access to photo lib
NSMicrophoneUsageDescription = “This app would like to access the microphone.”, --for recording audio/allow access to mic
CFBundleShortVersionString = “1.0”,
CFBundleIconFiles =
{
“Icon.png”,
“Icon@2x.png”,
“Icon-76.png”,
“Icon-76@2x.png”,
“Icon-Small-40.png”,
“Icon-Small-40@2x.png”,
“Icon-Small-40@3x.png”,
“Icon-60.png”,
“Icon-60@2x.png”,
“Icon-60@3x.png”,
“Icon-76.png”,
“Icon-76@2x.png”,
“Icon-Small-50.png”,
“Icon-Small-50@2x.png”,
“Icon-Small.png”,
“Icon-Small@2x.png”,
“Icon-Small@3x.png”,
},
UILaunchStoryboardName = “LaunchScreen”, – Required!
UIStatusBarHidden = true,
UIPrerenderedIcon = true,
UIApplicationExitsOnSuspend = false,
FacebookAppID = “xxxxxxxxxx”,
CFBundleURLTypes =
{
{
CFBundleURLSchemes =
{
“fbxxxxxxxxxxx”, – replace XXXXXXXXX with your facebook appId
}
}
},
– Whitelist Facebook apps
LSApplicationQueriesSchemes =
{
“fb”, – Needed for the facebook-v4.isFacebookAppEnabled() API
“fbapi”,
“fbauth2”,
“fb-messenger-api”,
“fbshareextension”
}
}
},
plugins =
{
[“plugin.google.play.services”] =
{
publisherId = “com.coronalabs”
},
[“plugin.google.iap.v3”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { android=true }
},
[“plugin.facebook.v4”] =
{
publisherId = “com.coronalabs”
},
[“plugin.notifications.v2”] =
{
publisherId = “com.coronalabs”
}–,
--[“CoronaProvider.native.popup.addressbook”] =
--{
– publisherId = “com.coronalabs”
--}
}
}