–
– For more information on build.settings, see the Project Build Settings guide at:
– https://docs.coronalabs.com/guide/distribution/buildSettings
–
settings =
{
orientation =
{
– Supported values for orientation:
– portrait, portraitUpsideDown, landscapeLeft, landscapeRight
default = “portrait”,
supported = { “portrait”, },
},
–
– Android section
–
android =
{
–=========API 28=====
minSdkVersion = “29”,
supportsTV = true,
isGame = true,
supportsScreens =
{
smallScreens = true,
normalScreens = true,
largeScreens = true,
xlargeScreens = false,
requiresSmallestWidthDp = 320,
},
allowAppsReadOnlyAccessToFiles = false,
largeHeap = true,
strings =
{
permdesc = “Custom permission description”,
permlabel = “custom-permission-Label”,
},
permissions =
{
{
name = “.PERMISSION1”,
description = “@string/permdesc”,
icon = “@mipmap/icon”,
label = “@string/permlabel”,
permissionGroup = “android.permission-group.COST_MONEY”,
protectionLevel = “normal”,
},
},
manifestChildElements =
{
– Array of strings
[[
<uses-configuration android:reqFiveWayNav=“true” />
]],
},
applicationChildElements =
{
– Array of strings
[[
<activity android:name=“com.example.MyActivity”
android:configChanges=“keyboard|keyboardHidden”/>
]],
},
apkFiles =
{
“google-play-services.json”,
“res/raw/mypage.html”,
},
coronaActivityFlags =
{
resizeableActivity = true,
persistableMode = “persistRootOnly”,
},
--=========API 28=====
usesPermissions =
{
“android.permission.INTERNET”,
“com.android.vending.CHECK_LICENSE”
},
},
–
– Project section
–
excludeFiles =
{
– Exclude unnecessary files for each platform
android = { “Icon.png”, “Icon-??.png”, “Icon-???.png”, “LaunchScreen.storyboardc”, },
},
window =
{
titleText =
{
default = “Licensing”,
},
},
–=========API 28=====
iphone =
{
plist =
{
UIRequiredDeviceCapabilities =
{
[“gyroscope”] = true,
},
},
skipPNGCrush = true,
},
--=========API 28=====
}