manifest.json 4.5 KB

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