manifest.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. {
  2. "@platforms" : [ "android", "iPhone", "iPad" ],
  3. "id" : "H5BCCDCCB", /*应用的标识*/
  4. "name" : "防伪", /*应用名称,程序桌面图标名称*/
  5. "version" : {
  6. "name" : "1.0", /*应用版本名称*/
  7. "code" : "100"
  8. },
  9. "description" : "", /*应用描述信息*/
  10. "icons" : {
  11. "72" : "icon.png"
  12. },
  13. "launch_path" : "index.html", /*应用的入口页面,默认为根目录下的index.html;支持网络地址,必须以http://或https://开头*/
  14. "developer" : {
  15. "name" : "", /*开发者名称*/
  16. "email" : "", /*开发者邮箱地址*/
  17. "url" : "" /*开发者个人主页地址*/
  18. },
  19. "permissions" : {
  20. "Accelerometer" : {
  21. "description" : "访问加速度感应器"
  22. },
  23. "Audio" : {
  24. "description" : "访问麦克风"
  25. },
  26. "Cache" : {
  27. "description" : "管理应用缓存"
  28. },
  29. "Camera" : {
  30. "description" : "访问摄像头"
  31. },
  32. "Console" : {
  33. "description" : "跟踪调试输出日志"
  34. },
  35. "Device" : {
  36. "description" : "访问设备信息"
  37. },
  38. "Downloader" : {
  39. "description" : "文件下载管理"
  40. },
  41. "Events" : {
  42. "description" : "应用扩展事件"
  43. },
  44. "File" : {
  45. "description" : "访问本地文件系统"
  46. },
  47. "Gallery" : {
  48. "description" : "访问系统相册"
  49. },
  50. "Invocation" : {
  51. "description" : "使用Native.js能力"
  52. },
  53. "Orientation" : {
  54. "description" : "访问方向感应器"
  55. },
  56. "Proximity" : {
  57. "description" : "访问距离感应器"
  58. },
  59. "Storage" : {
  60. "description" : "管理应用本地数据"
  61. },
  62. "Uploader" : {
  63. "description" : "管理文件上传任务"
  64. },
  65. "Runtime" : {
  66. "description" : "访问运行期环境"
  67. },
  68. "XMLHttpRequest" : {
  69. "description" : "跨域网络访问"
  70. },
  71. "Zip" : {
  72. "description" : "文件压缩与解压缩"
  73. },
  74. "Barcode" : {
  75. "description" : "管理二维码扫描插件"
  76. },
  77. "Webview" : {
  78. "description" : "窗口管理"
  79. },
  80. "NativeUI" : {
  81. "description" : "原生UI控件"
  82. },
  83. "Navigator" : {
  84. "description" : "浏览器信息"
  85. },
  86. "NativeObj" : {
  87. "description" : "原生对象"
  88. }
  89. },
  90. "plus" : {
  91. "splashscreen" : {
  92. "autoclose" : true, /*是否自动关闭程序启动界面,true表示应用加载应用入口页面后自动关闭;false则需调plus.navigator.closeSplashscreen()关闭*/
  93. "waiting" : true /*是否在程序启动界面显示等待雪花,true表示显示,false表示不显示。*/
  94. },
  95. "popGesture" : "close", /*设置应用默认侧滑返回关闭Webview窗口,"none"为无侧滑返回功能,"hide"为侧滑隐藏Webview窗口。参考http://ask.dcloud.net.cn/article/102*/
  96. "runmode" : "normal", /*应用的首次启动运行模式,可取liberate或normal,liberate模式在第一次启动时将解压应用资源(Android平台File API才可正常访问_www目录)*/
  97. "signature" : "Sk9JTiBVUyBtYWlsdG86aHIyMDEzQGRjbG91ZC5pbw==", /*可选,保留给应用签名,暂不使用*/
  98. "distribute" : {
  99. "apple" : {
  100. "appid" : "", /*iOS应用标识,苹果开发网站申请的appid,如io.dcloud.HelloH5*/
  101. "mobileprovision" : "", /*iOS应用打包配置文件*/
  102. "password" : "", /*iOS应用打包个人证书导入密码*/
  103. "p12" : "", /*iOS应用打包个人证书,打包配置文件关联的个人证书*/
  104. "devices" : "universal", /*iOS应用支持的设备类型,可取值iphone/ipad/universal*/
  105. "frameworks" : [] /*调用Native.js调用原生Objective-c API需要引用的FrameWork,如需调用GameCenter,则添加"GameKit.framework"*/
  106. },
  107. "google" : {
  108. "packagename" : "", /*Android应用包名,如io.dcloud.HelloH5*/
  109. "keystore" : "", /*Android应用打包使用的密钥库文件*/
  110. "password" : "", /*Android应用打包使用密钥库中证书的密码*/
  111. "aliasname" : "", /*Android应用打包使用密钥库中证书的别名*/
  112. "permissions" : [
  113. "<uses-feature android:name=\"android.hardware.camera\"/>",
  114. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  115. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  116. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  117. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  118. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  119. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  120. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  121. ]
  122. },
  123. /*使用Native.js调用原生安卓API需要使用到的系统权限*/
  124. "orientation" : [ "portrait-primary" ], /*应用支持的方向,portrait-primary:竖屏正方向;portrait-secondary:竖屏反方向;landscape-primary:横屏正方向;landscape-secondary:横屏反方向*/
  125. "icons" : {
  126. "ios" : {
  127. "prerendered" : true, /*应用图标是否已经高亮处理,在iOS6及以下设备上有效*/
  128. "auto" : "", /*应用图标,分辨率:512x512,用于自动生成各种尺寸程序图标*/
  129. "iphone" : {
  130. "normal" : "", /*iPhone3/3GS程序图标,分辨率:57x57*/
  131. "retina" : "", /*iPhone4程序图标,分辨率:114x114*/
  132. "retina7" : "", /*iPhone4S/5/6程序图标,分辨率:120x120*/
  133. "retina8" : "", /*iPhone6 Plus程序图标,分辨率:180x180*/
  134. "spotlight-normal" : "", /*iPhone3/3GS Spotlight搜索程序图标,分辨率:29x29*/
  135. "spotlight-retina" : "", /*iPhone4 Spotlight搜索程序图标,分辨率:58x58*/
  136. "spotlight-retina7" : "", /*iPhone4S/5/6 Spotlight搜索程序图标,分辨率:80x80*/
  137. "settings-normal" : "", /*iPhone4设置页面程序图标,分辨率:29x29*/
  138. "settings-retina" : "", /*iPhone4S/5/6设置页面程序图标,分辨率:58x58*/
  139. "settings-retina8" : "", /*iPhone6Plus设置页面程序图标,分辨率:87x87*/
  140. "app@2x" : "unpackage/res/icons/120x120.png",
  141. "app@3x" : "unpackage/res/icons/180x180.png",
  142. "notification@2x" : "unpackage/res/icons/40x40.png",
  143. "notification@3x" : "unpackage/res/icons/60x60.png",
  144. "settings@2x" : "unpackage/res/icons/58x58.png",
  145. "settings@3x" : "unpackage/res/icons/87x87.png",
  146. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  147. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  148. },
  149. "ipad" : {
  150. "normal" : "", /*iPad普通屏幕程序图标,分辨率:72x72*/
  151. "retina" : "", /*iPad高分屏程序图标,分辨率:144x144*/
  152. "normal7" : "", /*iPad iOS7程序图标,分辨率:76x76*/
  153. "retina7" : "", /*iPad iOS7高分屏程序图标,分辨率:152x152*/
  154. "spotlight-normal" : "", /*iPad Spotlight搜索程序图标,分辨率:50x50*/
  155. "spotlight-retina" : "", /*iPad高分屏Spotlight搜索程序图标,分辨率:100x100*/
  156. "spotlight-normal7" : "", /*iPad iOS7 Spotlight搜索程序图标,分辨率:40x40*/
  157. "spotlight-retina7" : "", /*iPad iOS7高分屏Spotlight搜索程序图标,分辨率:80x80*/
  158. "settings-normal" : "", /*iPad设置页面程序图标,分辨率:29x29*/
  159. "settings-retina" : "", /*iPad高分屏设置页面程序图标,分辨率:58x58*/
  160. "app" : "unpackage/res/icons/76x76.png",
  161. "app@2x" : "unpackage/res/icons/152x152.png",
  162. "notification" : "unpackage/res/icons/20x20.png",
  163. "notification@2x" : "unpackage/res/icons/40x40.png",
  164. "proapp@2x" : "unpackage/res/icons/167x167.png",
  165. "settings" : "unpackage/res/icons/29x29.png",
  166. "settings@2x" : "unpackage/res/icons/58x58.png",
  167. "spotlight" : "unpackage/res/icons/40x40.png",
  168. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  169. },
  170. "appstore" : "unpackage/res/icons/1024x1024.png"
  171. },
  172. "android" : {
  173. "mdpi" : "", /*普通屏程序图标,分辨率:48x48*/
  174. "ldpi" : "", /*大屏程序图标,分辨率:48x48*/
  175. "hdpi" : "unpackage/res/icons/72x72.png", /*高分屏程序图标,分辨率:72x72*/
  176. "xhdpi" : "unpackage/res/icons/96x96.png", /*720P高分屏程序图标,分辨率:96x96*/
  177. "xxhdpi" : "unpackage/res/icons/144x144.png", /*1080P 高分屏程序图标,分辨率:144x144*/
  178. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  179. }
  180. },
  181. "splashscreen" : {
  182. "ios" : {
  183. "iphone" : {
  184. "default" : "", /*iPhone3启动图片选,分辨率:320x480*/
  185. "retina35" : "", /*3.5英寸设备(iPhone4)启动图片,分辨率:640x960*/
  186. "retina40" : "", /*4.0 英寸设备(iPhone5/iPhone5s)启动图片,分辨率:640x1136*/
  187. "retina47" : "", /*4.7 英寸设备(iPhone6)启动图片,分辨率:750x1334*/
  188. "retina55" : "", /*5.5 英寸设备(iPhone6 Plus)启动图片,分辨率:1242x2208*/
  189. "retina55l" : "" /*5.5 英寸设备(iPhone6 Plus)横屏启动图片,分辨率:2208x1242*/
  190. },
  191. "ipad" : {
  192. "portrait" : "", /*iPad竖屏启动图片,分辨率:768x1004*/
  193. "portrait-retina" : "", /*iPad高分屏竖屏图片,分辨率:1536x2008*/
  194. "landscape" : "", /*iPad横屏启动图片,分辨率:1024x748*/
  195. "landscape-retina" : "", /*iPad高分屏横屏启动图片,分辨率:2048x1496*/
  196. "portrait7" : "", /*iPad iOS7竖屏启动图片,分辨率:768x1024*/
  197. "portrait-retina7" : "", /*iPad iOS7高分屏竖屏图片,分辨率:1536x2048*/
  198. "landscape7" : "", /*iPad iOS7横屏启动图片,分辨率:1024x768*/
  199. "landscape-retina7" : "" /*iPad iOS7高分屏横屏启动图片,分辨率:2048x1536*/
  200. }
  201. },
  202. "android" : {
  203. "mdpi" : "", /*普通屏启动图片,分辨率:240x282*/
  204. "ldpi" : "", /*大屏启动图片,分辨率:320x442*/
  205. "hdpi" : "", /*高分屏启动图片,分辨率:480x762*/
  206. "xhdpi" : "", /*720P高分屏启动图片,分辨率:720x1242*/
  207. "xxhdpi" : "" /*1080P高分屏启动图片,分辨率:1080x1882*/
  208. }
  209. },
  210. "plugins" : {
  211. "speech" : {
  212. "ifly" : {}
  213. },
  214. "ad" : {}
  215. },
  216. "ios" : {
  217. "dSYMs" : false
  218. }
  219. }
  220. },
  221. "screenOrientation" : [ "portrait-primary" ]
  222. }