manifest.json
10.1 KB
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
{
"name" : "Shopro",
"appid" : "__UNI__5B85****",
"description" : "",
"versionName" : "Shopro 1.1.2",
"versionCode" : 215,
"transformPx" : false,
"app-plus" : {
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 3000
},
/* 5+App特有相关 */
"modules" : {
"OAuth" : {},
"Payment" : {},
"Share" : {},
"Maps" : {},
"Webview-x5" : {},
"UIWebview" : {},
"Geolocation" : {}
},
/* 模块配置 */
"distribute" : {
/* 应用发布信息 */
"android" : {
/* android打包配置 */
"permissions" : [
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.INTERNET\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>"
]
},
"ios" : {
"idfa" : false
},
/* ios打包配置 */
"sdkConfigs" : {
"oauth" : {
"weixin" : {
"appid" : "wx522bf4cc9a13****",
"appsecret" : "fa44dc893ab55338f46d65f900b1****",
"UniversalLinks" : ""
}
},
"payment" : {
"weixin" : {
"appid" : "wx522bf4cc9a13****",
"UniversalLinks" : ""
},
"alipay" : {}
},
"share" : {
"weixin" : {
"appid" : "wx522bf4cc9a13****",
"UniversalLinks" : ""
}
},
"ad" : {},
"maps" : {
"amap" : {
"appkey_ios" : "f3c725a2c41ae7218e39392f28635ee7",
"appkey_android" : "7a3cedafa6b15b3482e85b7400355b1c"
}
},
"geolocation" : {
"amap" : {
"__platform__" : [ "ios", "android" ],
"appkey_ios" : "f3c725a2c41ae7218e39392f28635ee7",
"appkey_android" : "7a3cedafa6b15b3482e85b7400355b1c"
}
}
},
"icons" : {
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
},
"ios" : {
"appstore" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
},
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
}
},
"compilerVersion" : 3,
"nvueLaunchMode" : "fast",
"privacy" : {
"prompt" : "custom" //可取值template、custom、none
},
//"template": { prompt取值为template时有效,用于配置模板提示框上显示的内容
//}
"safearea" : {
//安全区域配置
"background" : "#FFFFFF", //安全区域外的背景颜色,默认值为"#FFFFFF"
"bottom" : {
// 底部安全区域配置
"offset" : "auto" // 底部安全区域偏移,"none"表示不空出安全区域,"auto"自动计算空出安全区域,默认值为"none"
},
"left" : {
//左侧安全区域配置(横屏显示时有效)
"offset" : "auto"
},
"right" : {
//右侧安全区域配置(横屏显示时有效)
"offset" : "auto"
}
},
"uniStatistics" : {
"enable" : false
}
},
/* SDK配置 */
"quickapp" : {},
/* 快应用特有相关 */
"mp-weixin" : {
/* 小程序特有相关 */
"usingComponents" : {
"subscribe" : "plugin-private://wx2b03c6e691cd7370/components/subscribe/subscribe"
},
"appid" : "wx39cd0799d45****",
"setting" : {
"urlCheck" : false,
"es6" : false,
"minified" : true,
"postcss" : true,
"checkSiteMap" : false // 关闭页面索引检测
},
// "uniStatistics" : {
// "enable" : false// mp-wixn无效
// },
"optimization" : {
"subPackages" : true //开启小程序分包优化。
},
"plugins" : {},
// "live-player-plugin": {
// //这段代码,需要放到plugins中。
// //只有后台开通小程序直播功能权限,才可以打开,不然报错,程序无法运行。
// "version": "1.2.0", // 注意填写该直播组件最新版本号,微信开发者工具调试时可获取最新版本号
// "provider": "wx2b03c6e691cd7370" // 必须填该直播组件appid,该示例值即为直播组件appid
// }
"permission" : {
"scope.userLocation" : {
"desc" : "计算附近商店"
}
}
},
"h5" : {
"title" : "Shopro",
"domain" : "shopro.7wpp.com",
"optimization" : {
"treeShaking" : {
"enable" : true
},
"router" : {
"mode" : "history"
},
"devServer" : {
"https" : false
}
},
"router" : {
"mode" : "history"
},
"devServer" : {
"https" : false
},
"uniStatistics" : {
"enable" : false
},
"sdkConfigs" : {
"maps" : {
"qqmap" : {
"key" : "4NRBZ-CMP63-VSU3Y-YTSAF-ARYXH-DCFH3"
}
}
}
},
"mp-baidu" : {
"uniStatistics" : {
"enable" : false
}
},
"mp-toutiao" : {
"uniStatistics" : {
"enable" : false
}
},
"mp-qq" : {
"uniStatistics" : {
"enable" : false
}
},
"mp-alipay" : {
"uniStatistics" : {
"enable" : false
}
},
"uniStatistics" : {
"enable" : false
}
}