manifest.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "name" : "悦姀春颜",
  3. "appid" : "__UNI__5246E21",
  4. "description" : "",
  5. "versionName" : "1.0.3",
  6. "versionCode" : 103,
  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. "dSYMs" : false
  42. },
  43. /* ios打包配置 */
  44. "sdkConfigs" : {
  45. "maps" : {
  46. "amap" : {
  47. "appkey_ios" : "",
  48. "appkey_android" : ""
  49. }
  50. },
  51. "oauth" : {
  52. "weixin" : {
  53. "appid" : "",
  54. "appsecret" : "",
  55. "UniversalLinks" : ""
  56. }
  57. },
  58. "ad" : {}
  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" : "wx7a028e7c98085146",
  101. "setting" : {
  102. "urlCheck" : true,
  103. "minified" : true
  104. }
  105. },
  106. "h5" : {
  107. "title" : "悦姀春颜",
  108. "domain" : "",
  109. "router" : {
  110. "base" : "/index/",
  111. "mode" : "hash"
  112. },
  113. "devServer" : {
  114. "proxy" : {
  115. "/api" : {
  116. "target" : "http://yhcy.qiniu1314.com"
  117. }
  118. }
  119. }
  120. }
  121. }
  122. // "changeOrigin": true,