manifest.json 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {
  2. "name" : "农检宝",
  3. "appid" : "__UNI__405C61F",
  4. "description" : "农检宝",
  5. "versionName" : "1.0.0",
  6. "versionCode" : 100,
  7. "transformPx" : false,
  8. "app-plus" : {
  9. /* 5+App特有相关 */
  10. "modules" : {
  11. "VideoPlayer" : {}
  12. },
  13. /* 模块配置 */
  14. "distribute" : {
  15. /* 应用发布信息 */
  16. "android" : {
  17. /* android打包配置 */
  18. "permissions" : [
  19. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  20. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  21. "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
  22. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  23. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  24. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  25. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  26. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
  27. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  28. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  29. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  30. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  31. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  32. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  33. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  34. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  35. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  36. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  37. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  38. "<uses-feature android:name=\"android.hardware.camera\"/>",
  39. "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
  40. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  41. ]
  42. },
  43. "ios" : {},
  44. /* ios打包配置 */
  45. "sdkConfigs" : {
  46. "ad" : {}
  47. },
  48. "splashscreen" : {
  49. "androidStyle" : "default",
  50. "iosStyle" : "default",
  51. "android" : {
  52. "hdpi" : "boot_photo/android/480.png",
  53. "xhdpi" : "boot_photo/android/720.png",
  54. "xxhdpi" : "boot_photo/android/1080.png"
  55. },
  56. "useOriginalMsgbox" : true,
  57. "ios" : {
  58. "iphone" : {
  59. "portrait-896h@3x" : "boot_photo/ios/1242.png",
  60. "landscape-896h@3x" : "boot_photo/ios/2688.png",
  61. "landscape-896h@2x" : "boot_photo/ios/1792.png",
  62. "iphonexl" : "boot_photo/ios/2436.png",
  63. "retina55l" : "boot_photo/ios/2208.png",
  64. "retina47l" : "boot_photo/ios/1334.png",
  65. "portrait-896h@2x" : "boot_photo/ios/828.png",
  66. "iphonex" : "boot_photo/ios/1125.png",
  67. "retina55" : "boot_photo/ios/1242.png",
  68. "retina47" : "boot_photo/ios/750.png",
  69. "retina40" : "boot_photo/ios/640.png",
  70. "retina40l" : "boot_photo/ios/1136.png",
  71. "retina35" : "boot_photo/ios/640-960.png"
  72. },
  73. "ipad" : {
  74. "portrait-1366h@2x" : "boot_photo/pad/2048-2732.png",
  75. "landscape-1366h@2x" : "boot_photo/pad/2732-2048.png",
  76. "portrait-1194h@2x" : "boot_photo/pad/1668-2388.png",
  77. "landscape-1194h@2x" : "boot_photo/pad/2388-1668.png",
  78. "portrait-1112h@2x" : "boot_photo/pad/1668-2224.png",
  79. "landscape-1112h@2x" : "boot_photo/pad/2224-1668.png",
  80. "portrait-retina7" : "boot_photo/pad/1536-2048.png",
  81. "landscape-retina7" : "boot_photo/pad/2048-1536.png",
  82. "portrait7" : "boot_photo/pad/768-1024.png",
  83. "landscape7" : "boot_photo/pad/1024-768.png"
  84. }
  85. }
  86. },
  87. "icons" : {
  88. "android" : {
  89. "hdpi" : "unpackage/res/icons/72x72.png",
  90. "xhdpi" : "unpackage/res/icons/96x96.png",
  91. "xxhdpi" : "unpackage/res/icons/144x144.png",
  92. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  93. },
  94. "ios" : {
  95. "appstore" : "unpackage/res/icons/1024x1024.png",
  96. "ipad" : {
  97. "app" : "unpackage/res/icons/76x76.png",
  98. "app@2x" : "unpackage/res/icons/152x152.png",
  99. "notification" : "unpackage/res/icons/20x20.png",
  100. "notification@2x" : "unpackage/res/icons/40x40.png",
  101. "proapp@2x" : "unpackage/res/icons/167x167.png",
  102. "settings" : "unpackage/res/icons/29x29.png",
  103. "settings@2x" : "unpackage/res/icons/58x58.png",
  104. "spotlight" : "unpackage/res/icons/40x40.png",
  105. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  106. },
  107. "iphone" : {
  108. "app@2x" : "unpackage/res/icons/120x120.png",
  109. "app@3x" : "unpackage/res/icons/180x180.png",
  110. "notification@2x" : "unpackage/res/icons/40x40.png",
  111. "notification@3x" : "unpackage/res/icons/60x60.png",
  112. "settings@2x" : "unpackage/res/icons/58x58.png",
  113. "settings@3x" : "unpackage/res/icons/87x87.png",
  114. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  115. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  116. }
  117. }
  118. }
  119. }
  120. },
  121. /* SDK配置 */
  122. "quickapp" : {},
  123. /* 快应用特有相关 */
  124. "mp-weixin" : {
  125. /* 小程序特有相关 */
  126. "appid" : "wx06463f20f06692d5",
  127. "setting" : {
  128. "urlCheck" : false,
  129. "es6" : true
  130. },
  131. "optimization" : {
  132. "subPackages" : true
  133. },
  134. "permission" : {
  135. "scope.userLocation" : {
  136. "desc" : "获取用户填写的地址经纬度"
  137. }
  138. },
  139. "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ]
  140. },
  141. "h5" : {
  142. "title" : "ColorUi for UniApp",
  143. "domain" : "demo.color-ui.com"
  144. }
  145. }