manifest.json 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. }
  53. }
  54. },
  55. /* SDK配置 */
  56. "quickapp" : {},
  57. /* 快应用特有相关 */
  58. "mp-weixin" : {
  59. /* 小程序特有相关 */
  60. "usingComponents" : true,
  61. "appid" : "",
  62. "setting" : {
  63. "urlCheck" : true
  64. }
  65. },
  66. "h5" : {
  67. "title" : "商城",
  68. "domain" : "",
  69. "router" : {
  70. "base" : "/index/",
  71. "mode" : "hash"
  72. },
  73. "devServer" : {
  74. "proxy" : {
  75. "/api" : {
  76. "target" : "http://base.liuniu946.com/api",
  77. // "changeOrigin": true,
  78. "pathRewrite" : {
  79. "/api" : "" // rewrite path
  80. }
  81. }
  82. }
  83. }
  84. }
  85. }