manifest.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. {
  2. "name" : "想亮",
  3. "appid" : "__UNI__F0EBD91",
  4. "description" : "",
  5. "versionName" : "1.0.0",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. "app-plus" : {
  9. /* 5+App特有相关 */
  10. "usingComponents" : true,
  11. "splashscreen" : {
  12. "alwaysShowBeforeRender" : true,
  13. "waiting" : true,
  14. "autoclose" : true,
  15. "delay" : 0
  16. },
  17. "modules" : {},
  18. /* 模块配置 */
  19. "distribute" : {
  20. /* 应用发布信息 */
  21. "android" : {
  22. /* android打包配置 */
  23. "permissions" : [
  24. "<uses-feature android:name=\"android.hardware.camera\"/>",
  25. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  26. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  27. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  28. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  29. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  30. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  31. "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
  32. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  33. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  34. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  35. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>"
  36. ],
  37. "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
  38. },
  39. "ios" : {
  40. "idfa" : false
  41. },
  42. /* ios打包配置 */
  43. "sdkConfigs" : {
  44. "maps" : {},
  45. "oauth" : {
  46. "weixin" : {
  47. "appid" : "",
  48. "appsecret" : "",
  49. "UniversalLinks" : ""
  50. }
  51. },
  52. "payment" : {
  53. "weixin" : {
  54. "__platform__" : [ "ios", "android" ],
  55. "appid" : "",
  56. "UniversalLinks" : ""
  57. }
  58. }
  59. },
  60. "icons" : {
  61. "android" : {
  62. "hdpi" : "unpackage/res/icons/72x72.png",
  63. "xhdpi" : "unpackage/res/icons/96x96.png",
  64. "xxhdpi" : "unpackage/res/icons/144x144.png",
  65. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  66. },
  67. "ios" : {
  68. "appstore" : "unpackage/res/icons/1024x1024.png",
  69. "ipad" : {
  70. "app" : "unpackage/res/icons/76x76.png",
  71. "app@2x" : "unpackage/res/icons/152x152.png",
  72. "notification" : "unpackage/res/icons/20x20.png",
  73. "notification@2x" : "unpackage/res/icons/40x40.png",
  74. "proapp@2x" : "unpackage/res/icons/167x167.png",
  75. "settings" : "unpackage/res/icons/29x29.png",
  76. "settings@2x" : "unpackage/res/icons/58x58.png",
  77. "spotlight" : "unpackage/res/icons/40x40.png",
  78. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  79. },
  80. "iphone" : {
  81. "app@2x" : "unpackage/res/icons/120x120.png",
  82. "app@3x" : "unpackage/res/icons/180x180.png",
  83. "notification@2x" : "unpackage/res/icons/40x40.png",
  84. "notification@3x" : "unpackage/res/icons/60x60.png",
  85. "settings@2x" : "unpackage/res/icons/58x58.png",
  86. "settings@3x" : "unpackage/res/icons/87x87.png",
  87. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  88. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  89. }
  90. }
  91. }
  92. }
  93. },
  94. /* SDK配置 */
  95. "quickapp" : {},
  96. /* 快应用特有相关 */
  97. "mp-weixin" : {
  98. /* 小程序特有相关 */
  99. "usingComponents" : true,
  100. "appid" : "wx22f8b18bbd2b2ef2",
  101. "setting" : {
  102. "urlCheck" : true
  103. },
  104. "permission" : {
  105. "scope.userLocation" : {
  106. "desc" : "需要根据你的定位来给你推送最近的门店"
  107. }
  108. },
  109. "requiredPrivateInfos" : [ "getLocation" ]
  110. },
  111. "h5" : {
  112. "title" : "想亮商城",
  113. "domain" : "",
  114. "router" : {
  115. "base" : "/index/",
  116. "mode" : "hash"
  117. },
  118. "devServer" : {
  119. "proxy" : {
  120. "/api" : {
  121. // "target" : "http://lnpt.frp.liuniu946.com/api",
  122. "target" : "https://xxl.liuniu946.com/api",
  123. // "changeOrigin": true,
  124. "pathRewrite" : {
  125. "/api" : "" // rewrite path
  126. }
  127. }
  128. }
  129. },
  130. "sdkConfigs" : {
  131. "maps" : {
  132. "qqmap" : {
  133. "key" : "VYZBZ-P2TRG-RMIQ3-ITAIN-2DKBK-CKFQQ"
  134. }
  135. }
  136. }
  137. }
  138. }