-
Notifications
You must be signed in to change notification settings - Fork 60
/
manifest.json
472 lines (458 loc) · 14.5 KB
/
manifest.json
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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
{
"@platforms": [
"android",
"iPhone",
"iPad"
],
"id": "H55F9AFA1",/*应用的标识,创建应用时自动生成,勿手动修改*/
"name": "红旅动漫",/*应用名称,程序桌面图标名称*/
"version": {
"name": "1.0.2",/*应用版本名称*/
"code": "3"
},
"description": "",/*应用描述信息*/
"icons": {
"72": "icon.png"
},
"launch_path": "index.html",/*应用的入口页面,默认为根目录下的index.html;支持网络地址,必须以http://或https://开头*/
"developer": {
"name": "tomoya",/*开发者名称*/
"email": "[email protected]",/*开发者邮箱地址*/
"url": "http://tomoya.cn"
},
"permissions": {
"Cache": {
"description": "管理应用缓存"
},
"Console": {
"description": "跟踪调试输出日志"
},
"Device": {
"description": "访问设备信息"
},
"Downloader": {
"description": "文件下载管理"
},
"Events": {
"description": "应用扩展事件"
},
"File": {
"description": "访问本地文件系统"
},
"Invocation": {
"description": "使用Native.js能力"
},
"Storage": {
"description": "管理应用本地数据"
},
"Runtime": {
"description": "访问运行期环境"
},
"XMLHttpRequest": {
"description": "跨域网络访问"
},
"Zip": {
"description": "文件压缩与解压缩"
},
"Webview": {
"description": "窗口管理"
},
"NativeUI": {
"description": "原生UI控件"
},
"Navigator": {
"description": "浏览器信息"
},
"NativeObj": {
"description": "原生对象"
},
"Statistic": {},
"Share": {},"Push":{},"OAuth":{}
},
"plus": {
"splashscreen": {
"autoclose": true,/*是否自动关闭程序启动界面,true表示应用加载应用入口页面后自动关闭;false则需调plus.navigator.closeSplashscreen()关闭*/
"waiting": true
},
"runmode": "liberate",/*应用的首次启动运行模式,可取liberate或normal,liberate模式在第一次启动时将解压应用资源(Android平台File API才可正常访问_www目录)*/
"signature": "Sk9JTiBVUyBtYWlsdG86aHIyMDEzQGRjbG91ZC5pbw==",/*可选,保留给应用签名,暂不使用*/
"distribute": {
"plugins": {"push":{"igexin":{"appid":"OTemIMbYiz55QD0yViYcq3","appkey":"7AP9qzX5zm9lBvBSgkLnF9","appsecret":"AI1gcdKORB89KZ2unmKux1"}},"oauth":{"qq":{"appid":"1105504525"}},
"share": {
"qq": {
"appid": "1105504525",
"description": "QQ分享"
}
},
"statics": {
"umeng": {
"appkey_ios": "579adcb9e0f55a2bbe0036d2",
"channelid_ios": "appstore",
"appkey_android": "579adc3ce0f55ac091003347",
"channelid_android": "360"
}
}
},
"apple": {
"appid": "",/*iOS应用标识,苹果开发网站申请的appid,如io.dcloud.HelloH5*/
"mobileprovision": "",/*iOS应用打包配置文件*/
"password": "",/*iOS应用打包个人证书导入密码*/
"p12": "",/*iOS应用打包个人证书,打包配置文件关联的个人证书*/
"devices": "universal",/*iOS应用支持的设备类型,可取值iphone/ipad/universal*/
"frameworks": []
},
"google": {
"packagename": "",/*Android应用包名,如io.dcloud.HelloH5*/
"keystore": "",/*Android应用打包使用的密钥库文件*/
"password": "",/*Android应用打包使用密钥库中证书的密码*/
"aliasname": "",/*Android应用打包使用密钥库中证书的别名*/
"permissions": ["<uses-permission android:name=\"com.android.launcher.permission.INSTALL_SHORTCUT\"/>","<uses-permission android:name=\"android.permission.GET_TASKS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.RECEIVE_USER_PRESENT\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\"/>","<uses-permission android:name=\"com.android.launcher.permission.UNINSTALL_SHORTCUT\"/>"]
},
"orientation": [
"portrait-primary"
],/*应用支持的方向,portrait-primary:竖屏正方向;portrait-secondary:竖屏反方向;landscape-primary:横屏正方向;landscape-secondary:横屏反方向*/
"icons": {
"ios": {
"prerendered": true, /*应用图标是否已经高亮处理,在iOS6及以下设备上有效*/
"auto": "", /*应用图标,分辨率:512x512,用于自动生成各种尺寸程序图标*/
"iphone": {
"normal": "unpackage/res/icons/57x57.png",/*iPhone普通屏幕程序图标,分辨率:57x57*/
"retina": "unpackage/res/icons/114x114.png",/*iPhone高分屏程序图标,分辨率:114x114*/
"retina7": "unpackage/res/icons/120x120.png",/*iPhone iOS7高分屏程序图标,分辨率:120x120*/
"spotlight-normal": "unpackage/res/icons/29x29.png", /*iPhone Spotlight搜索程序图标,分辨率:29x29*/
"spotlight-retina": "unpackage/res/icons/58x58.png", /*iPhone高分屏Spotlight搜索程序图标,分辨率:58x58*/
"spotlight-retina7": "unpackage/res/icons/80x80.png",/*iPhone iOS7高分屏Spotlight搜索程序图标,分辨率:80x80*/
"settings-normal": "unpackage/res/icons/29x29.png", /*iPhone设置页面程序图标,分辨率:29x29*/
"settings-retina": "unpackage/res/icons/58x58.png",
"retina8": "unpackage/res/icons/180x180.png",
"settings-retina8": "unpackage/res/icons/87x87.png"
},
"ipad": {
"normal": "unpackage/res/icons/72x72.png", /*iPad普通屏幕程序图标,分辨率:72x72*/
"retina": "unpackage/res/icons/144x144.png", /*iPad高分屏程序图标,分辨率:144x144*/
"normal7": "unpackage/res/icons/76x76.png", /*iPad iOS7程序图标,分辨率:76x76*/
"retina7": "unpackage/res/icons/152x152.png", /*iPad iOS7高分屏程序图标,分辨率:152x152*/
"spotlight-normal": "unpackage/res/icons/50x50.png", /*iPad Spotlight搜索程序图标,分辨率:50x50*/
"spotlight-retina": "unpackage/res/icons/100x100.png", /*iPad高分屏Spotlight搜索程序图标,分辨率:100x100*/
"spotlight-normal7": "unpackage/res/icons/40x40.png",/*iPad iOS7 Spotlight搜索程序图标,分辨率:40x40*/
"spotlight-retina7": "unpackage/res/icons/80x80.png",/*iPad iOS7高分屏Spotlight搜索程序图标,分辨率:80x80*/
"settings-normal": "unpackage/res/icons/29x29.png",/*iPad设置页面程序图标,分辨率:29x29*/
"settings-retina": "unpackage/res/icons/58x58.png"
}
},
"android": {
"mdpi": "unpackage/res/icons/48x48.png", /*普通屏程序图标,分辨率:48x48*/
"ldpi": "unpackage/res/icons/48x48.png", /*大屏程序图标,分辨率:48x48*/
"hdpi": "unpackage/res/icons/72x72.png", /*高分屏程序图标,分辨率:72x72*/
"xhdpi": "unpackage/res/icons/96x96.png",/*720P高分屏程序图标,分辨率:96x96*/
"xxhdpi": "unpackage/res/icons/144x144.png"
}
},
"splashscreen": {
"ios": {
"iphone": {
"default": "/Users/tomoya/Downloads/hltm-api/ios/320x480.png", /*iPhone3启动图片选,分辨率:320x480*/
"retina35": "/Users/tomoya/Downloads/hltm-api/ios/640x960.png",/*3.5英寸设备(iPhone4)启动图片,分辨率:640x960*/
"retina40": "/Users/tomoya/Downloads/hltm-api/ios/640x1136.png",
"retina55": "/Users/tomoya/Downloads/hltm-api/ios/1242x2208.png",
"retina47": "/Users/tomoya/Downloads/hltm-api/ios/750x1334.png",
"retina55l": "/Users/tomoya/Downloads/hltm-api/ios/1242x2208.png"
},
"ipad": {
"portrait": "/Users/tomoya/Downloads/hltm-api/ios/768x1004.png", /*iPad竖屏启动图片,分辨率:768x1004*/
"portrait-retina": "/Users/tomoya/Downloads/hltm-api/ios/1536x2008.png",/*iPad高分屏竖屏图片,分辨率:1536x2008*/
"landscape": "/Users/tomoya/Downloads/hltm-api/ios/768x1024.png", /*iPad横屏启动图片,分辨率:1024x748*/
"landscape-retina": "/Users/tomoya/Downloads/hltm-api/ios/1536x2048.png", /*iPad高分屏横屏启动图片,分辨率:2048x1496*/
"portrait7": "/Users/tomoya/Downloads/hltm-api/ios/768x1024.png", /*iPad iOS7竖屏启动图片,分辨率:768x1024*/
"portrait-retina7": "/Users/tomoya/Downloads/hltm-api/ios/1536x2048.png",/*iPad iOS7高分屏竖屏图片,分辨率:1536x2048*/
"landscape7": "/Users/tomoya/Downloads/hltm-api/ios/768x1024.png", /*iPad iOS7横屏启动图片,分辨率:1024x768*/
"landscape-retina7": "/Users/tomoya/Downloads/hltm-api/ios/1536x2048.png"
}
},
"android": {
"mdpi": "/Users/tomoya/Desktop/U盘/图片/hltm-api打包素材/android/240x282.png", /*普通屏启动图片,分辨率:240x282*/
"ldpi": "/Users/tomoya/Desktop/U盘/图片/hltm-api打包素材/android/320x442.png", /*大屏启动图片,分辨率:320x442*/
"hdpi": "/Users/tomoya/Desktop/U盘/图片/hltm-api打包素材/android/480x762.png", /*高分屏启动图片,分辨率:480x762*/
"xhdpi": "/Users/tomoya/Desktop/U盘/图片/hltm-api打包素材/android/720x1242.png", /*720P高分屏启动图片,分辨率:720x1242*/
"xxhdpi": "/Users/tomoya/Desktop/U盘/图片/hltm-api打包素材/android/1080x1882.png"
}
}
}
},
"dependencies": {
"pages": {
"index-sub.html": {
"resources": [
"js/underscore.js",
"js/common.js",
"js/zepto.min.js",
"css/mui.min.css",
"js/mui.min.js",
"css/app.css"
],
"refer": [
"news-detail.html",
"animate-detail.html"
],
"priority": 0
},
"index.html": {
"resources": [
"index-sub.html",
"js/mui.min.js",
"fonts/mui.ttf",
"css/mui.min.css",
"js/common.js",
"js/zepto.min.js",
"css/app.css",
"js/update.js"
],
"refer": [
"index-menu.html",
"search.html"
],
"priority": 0
},
"index-menu.html": {
"resources": [
"js/mui.min.js",
"css/mui.min.css",
"fonts/mui.ttf",
"js/common.js",
"css/app.css"
],
"refer": [
"week-update.html",
"hot.html",
"lastest.html",
"topic-news.html",
"topics.html",
"about.html",
"animate-7.html",
"animate-18.html",
"news.html"
],
"priority": 0
},
"news-detail.html": {
"resources": [
"js/underscore.js",
"js/common.js",
"js/mui.min.js",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css",
"css/app.css"
],
"refer": [],
"priority": 0
},
"search.html": {
"resources": [
"js/underscore.js",
"js/common.js",
"js/mui.min.js",
"css/app.css",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css"
],
"refer": [
"search-result.html"
],
"priority": 0
},
"search-result.html": {
"resources": [
"css/media.css",
"js/underscore.js",
"js/common.js",
"js/mui.min.js",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css",
"css/app.css"
],
"refer": [],
"priority": 0
},
"week-update.html": {
"resources": [
"js/underscore.js",
"js/common.js",
"js/mui.min.js",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css"
],
"refer": [
"search-result.html"
],
"priority": 0
},
"animate-detail.html": {
"resources": [
"js/underscore.js",
"js/common.js",
"js/mui.min.js",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css",
"css/app.css",
"js/ZeroClipboard.js"
],
"refer": [],
"priority": 0
},
"hot.html": {
"resources": [
"js/underscore.js",
"js/common.js",
"js/mui.min.js",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css"
],
"refer": [
"animate-detail.html"
],
"priority": 0
},
"lastest.html": {
"resources": [
"js/underscore.js",
"js/common.js",
"js/mui.min.js",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css"
],
"refer": [
"animate-detail.html"
],
"priority": 0
},
"topic-news.html": {
"resources": [
"js/underscore.js",
"js/common.js",
"js/mui.min.js",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css"
],
"refer": [],
"priority": 0
},
"topics.html": {
"resources": [
"js/underscore.js",
"js/common.js",
"js/mui.min.js",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css",
"css/app.css"
],
"refer": [
"topic-detail.html"
],
"priority": 0
},
"topic-detail.html": {
"resources": [
"css/mui.min.css",
"css/media.css"
],
"refer": [
"animate-detail.html"
],
"priority": 0
},
"about.html": {
"resources": [
"images/avatar.jpg",
"js/underscore.js",
"js/common.js",
"js/mui.min.js",
"css/app.css",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css"
],
"refer": [
"webview.html"
],
"priority": 0
},
"webview.html": {
"resources": [
"js/common.js",
"js/mui.min.js",
"js/zepto.min.js",
"css/mui.min.css",
"css/app.css",
"fonts/mui.ttf"
],
"refer": [],
"priority": 0
},
"animate-7.html": {
"resources": [
"js/mui.picker.min.js",
"js/data.js",
"css/mui.picker.min.css",
"css/media.css",
"js/underscore.js",
"js/common.js",
"js/mui.min.js",
"css/app.css",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css"
],
"refer": [],
"priority": 0
},
"animate-18.html": {
"resources": [
"js/underscore.js",
"js/common.js",
"js/mui.picker.min.js",
"js/mui.min.js",
"css/app.css",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css",
"js/data.js",
"css/mui.picker.min.css",
"css/media.css"
],
"refer": [],
"priority": 0
},
"news.html": {
"resources": [
"js/underscore.js",
"js/common.js",
"js/mui.min.js",
"css/app.css",
"js/zepto.min.js",
"fonts/mui.ttf",
"css/mui.min.css",
"css/media.css"
],
"refer": [
"news-detail.html"
],
"priority": 0
}
},
"idle": {
"resources": [
"js/underscore-min.js",
"js/mui.js"
]
}
}
}