manifest.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "name" : "智能通风",
  3. "appid" : "__UNI__8193760",
  4. "description" : "",
  5. "versionName" : "2.2.22",
  6. "versionCode" : 1,
  7. "transformPx" : false,
  8. "external" : true,
  9. "app-plus" : {
  10. "orientation" : [
  11. //竖屏正方向
  12. "portrait-primary",
  13. //竖屏反方向
  14. "portrait-secondary",
  15. //横屏正方向
  16. "landscape-primary",
  17. //横屏反方向
  18. "landscape-secondary",
  19. //自然方向
  20. "default"
  21. ],
  22. /* 5+App特有相关 */
  23. "modules" : {
  24. "Push" : {},
  25. "VideoPlayer" : {}
  26. },
  27. /* 模块配置 */
  28. "distribute" : {
  29. /* 应用发布信息 */
  30. "android" : {
  31. /* android打包配置 */
  32. "permissions" : [
  33. "<uses-feature android:name=\"android.hardware.camera\"/>",
  34. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  35. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  36. "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
  37. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  38. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  39. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  40. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  41. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  42. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  43. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  44. "<uses-permission android:name=\"android.permission.INTERNET\"/>",
  45. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  46. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  47. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  48. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  49. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  50. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  51. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  52. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
  53. "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
  54. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  55. ]
  56. },
  57. "ios" : {
  58. "dSYMs" : false
  59. },
  60. /* ios打包配置 */
  61. "sdkConfigs" : {
  62. "ad" : {},
  63. "maps" : {
  64. "amap" : {
  65. "name" : "",
  66. "appkey_ios" : "87f4d2a4a0c42e0c86cf312c8b8154e8",
  67. "appkey_android" : "87f4d2a4a0c42e0c86cf312c8b8154e8"
  68. }
  69. },
  70. "push" : {}
  71. },
  72. "splashscreen" : {
  73. "iosStyle" : "default"
  74. },
  75. "icons" : {
  76. "android" : {
  77. "hdpi" : "static/desk-img/72 – 1.png",
  78. "xhdpi" : "static/desk-img/96.png",
  79. "xxhdpi" : "static/desk-img/144.png",
  80. "xxxhdpi" : "static/desk-img/192.png"
  81. }
  82. }
  83. }
  84. },
  85. /* SDK配置 */
  86. "quickapp" : {},
  87. /* 快应用特有相关 */
  88. "mp-weixin" : {
  89. "appid" : "wx2ba5c5690b35d173",
  90. "setting" : {
  91. "urlCheck" : false,
  92. "es6" : true
  93. },
  94. "permission" : {
  95. "scope.userLocation" : {
  96. "desc" : "有定位功能需要导航定位"
  97. }
  98. }
  99. },
  100. "h5" : {
  101. "title" : "智能通风",
  102. "domain" : "myhjdc.cn",
  103. "router" : {
  104. "mode" : "history"
  105. }
  106. },
  107. "android" : {
  108. "theme" : {
  109. "primaryColor" : "#000000",
  110. "window" : {
  111. "fullscreen" : true,
  112. "navigationBarColor" : "#000000"
  113. }
  114. },
  115. "notch" : true
  116. },
  117. "fallbackLocale" : "zh-Hans"
  118. }