-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.settings
167 lines (159 loc) · 4.54 KB
/
build.settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
settings =
{
{{#splashCtl}}
splashScreen =
{
enable = true,
image = "mySplashScreen.png"
},
{{/splashCtl}}
plugins =
{
{{#iap}}
["plugin.zip"] =
{
publisherId = "com.coronalabs",
},
--Google in app billing v3
["plugin.google.iap.v3"] = {
-- required
publisherId = "com.coronalabs",
supportedPlatforms = { android = true },
},
--Amazon IAP
["plugin.amazon.iap"] = {
publisherId = "com.coronalabs",
supportedPlatforms = { ["android-kindle"]=true }
},
{{/iap}}
{{#adMob}}
["plugin.google.play.services"] =
{
publisherId = "com.coronalabs",
supportedPlatforms = { android =true }
},
{{/adMob}}
},
android =
{
{{#expansion}}
usesExpansionFile = true,
{{/expansion}}
usesPermissions =
{
{{#recordAudio}}
"android.permission.RECORD_AUDIO",
{{/recordAudio}}
"android.permission.WRITE_EXTERNAL_STORAGE",
{{#iap}}
"com.android.vending.BILLING",
{{/iap}}
{{#hasWeb}}
"android.permission.INTERNET",
{{/hasWeb}}
{{#adMob}}
"android.permission.ACCESS_NETWORK_STATE",
"android.permission.READ_PHONE_STATE",
{{/adMob}}
{{#expansion}}
"com.android.vending.CHECK_LICENSE",
{{/expansion}}
{{#camera}}
"android.permission.CAMERA",
{{/camera}}
{{#location}}
"android.permission.ACCESS_FINE_LOCATION",
"android.permission.ACCESS_COARSE_LOCATION",
{{/location}}
},
usesFeatures =
{
{{#camera}}
{ name="android.hardware.camera", required=false },
{{/camera}}
{{#recordAudio}}
{ name="android.hardware.microphone", required=false },
{{/recordAudio}}
{{#location}}
{ name = "android.hardware.location", required = false },
{ name = "android.hardware.location.gps", required = false },
{ name = "android.hardware.location.network", required = false }
{{/location}}
},
},
orientation =
{
default = "{{ori}}",
{{#portraitUpsideDown}}
supported = { "portrait", "portraitUpsideDown" },
{{/portraitUpsideDown}}
{{#landscapeUpsideDown}}
supported = { "landscapeLeft", "landscapeRight" },
{{/landscapeUpsideDown}}
},
iphone =
{
xcassets = "Images.xcassets",
plist=
{
{{#impFont}}
UIAppFonts =
{
{{#fileArr}}
"{{fileName}}",
{{/fileArr}}
},
{{/impFont}}
{{#exceptionDomains}}
NSAppTransportSecurity = {
NSExceptionDomains = {
{{#domainArr}}
["{{domain}}"] = {
NSIncludesSubdomains = true,
NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
},
{{/domainArr}}
}
},
{{/exceptionDomains}}
UIStatusBarHidden = true,
UILaunchStoryboardName = "LaunchScreen",
{{#lang}}
CFBundleLocalizations =
{
{{#langArr}}
"{{langID}}",
{{/langArr}}
},
CFBundleDisplayName = "{{appName}}",
CFBundleName = "{{appName}}",
{{#accel}}
NSMotionUsageDescription = "This app would like to access the accelerometer.",
{{/accel}}
{{#location}}
NSLocationAlwaysUsageDescription = "This app would like to use location services.",
NSLocationWhenInUseUsageDescription = "This app would like to use location services.",
{{/location}}
{{#recordAudio}}
NSMicrophoneUsageDescription = "This app would like to access the microphone.",
{{/recordAudio}}
{{#camera}}
NSCameraUsageDescription = "This app would like to access the camera.",
NSPhotoLibraryUsageDescription = "This app would like to access the photo library.",
NSPhotoLibraryAddUsageDescription = "This app would like to add the photo library.",
{{/camera}}
{{#video}}
NSCameraUsageDescription = "This app would like to access the camera.",
NSPhotoLibraryUsageDescription = "This app would like to access the photo library.",
NSPhotoLibraryAddUsageDescription = "This app would like to add the photo library.",
{{/video}}
{{/lang}}
},
},
excludeFiles =
{
-- Exclude all files at all paths which end with "secret.txt"
all = { "Icon*.png", "Images.xcassets", "Icon*.ico", "Icon*.icns", "*.vbs", "*.bat", "*.command" },
android = { "LaunchScreen.storyboardc" },
},
}