see my build.settings
settings =
{
corona_sdk_simulator_path = ‘/Applications/Corona/Corona Simulator.app’,
splashScreen =
{
enable = false
},
orientation =
{
default = ‘portrait’,
supported = { ‘portrait’}
},
excludeFiles =
{
iphone = { ‘Icon-*dpi.png’, ‘*.sketch’, ‘*.keystore’, ‘node_modules/*’ },
android = { ‘Icon.png’, ‘Icon-Small-*.png’, ‘Icon*@2x.png’, ‘*.sketch’, ‘*.keystore’, ‘node_modules/*’},
},
plugins = {
[‘plugin.utf8’] = {publisherId = ‘com.coronalabs’},
[‘plugin.notifications.v2’] = {publisherId = ‘com.coronalabs’},
[‘plugin.CoronaSplashControl’] = {publisherId = ‘com.coronalabs’},
[‘plugin.facebook.v4a’] = {publisherId = ‘com.coronalabs’},
[‘plugin.moreInfo’] = {publisherId = ‘tech.scotth’}
},
–
– iOS Section
–
iphone =
{
plist =
{
UIStatusBarHidden = false,
UIPrerenderedIcon = true,
CFBundleDisplayName = ‘Amo Delivery’,
CFBundleName = ‘Amo Delivery’,
CFBundleIdentifier = ‘delivery.amo.app’,
UIBackgroundModes = { “remote-notification” },
FirebaseAppDelegateProxyEnabled = false,
ITSAppUsesNonExemptEncryption = false,
UILaunchStoryboardName = ‘LaunchScreen’,
UIRequiredDeviceCapabilities = {‘location-services’, ‘gps’, ‘magnetometer’},
NSLocationWhenInUseUsageDescription = ‘Precisamos do acesso à sua localização para encontrar seu endereço’,
CoronaWindowMovesWhenKeyboardAppears = true,
FacebookAppID = ‘1772745452987244’,
CFBundleURLTypes =
{
{ CFBundleURLSchemes = { ‘fb1772745452987244’} }
},
NSAppTransportSecurity = {
NSExceptionDomains = {
[‘fbcdn.net’] =
{
NSIncludesSubdomains = true,
NSExceptionRequiresForwardSecrecy = false,
},
[‘facebook.com’] =
{
NSIncludesSubdomains = true,
NSExceptionRequiresForwardSecrecy = false,
},
[‘api.amo.delivery’] = {
NSIncludesSubdomains = true,
NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
},
[‘s3-sa-east-1.amazonaws.com’] = {
NSIncludesSubdomains = true,
NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
},
[‘googleapis.com’] = {
NSIncludesSubdomains = true,
NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
}
}
},
LSApplicationQueriesSchemes =
{
‘fb’,
‘fbapi’,
‘fbauth2’,
‘fb-messenger-api’,
‘fbshareextension’
},
CFBundleIconFiles =
{
‘Icon-40.png’,
‘Icon-40@2x.png’,
‘Icon-40@3x.png’,
‘Icon-60.png’,
‘Icon-60@2x.png’,
‘Icon-72.png’,
‘Icon-72@2x.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.png’,
‘Icon@2x.png’,
‘Icon@3x.png’,
‘iTunesArtwork.png’,
‘iTunesArtwork@2x.png’,
‘Icon-16.png’,
‘Icon-24.png’,
‘Icon-32.png’,
‘Icon-64.png’,
‘Icon-120.png’,
‘Icon-152.png’,
‘Icon-Small-40.png’,
‘Icon-Small-40@2x.png’,
‘Icon-60@3x.png’,
‘Icon-Small@3x.png’,
‘Icon-Small-40@3x.png’
}
}
},
–
– Android Section
–
android =
{
facebookAppId = ‘1772745452987244’,
coronaWindowMovesWhenKeyboardAppears = true,
useGoogleServicesJson = true,
usesPermissions =
{
‘android.permission.INTERNET’,
‘android.permission.ACCESS_FINE_LOCATION’,
‘android.permission.ACCESS_COARSE_LOCATION’
},
},
}