manifest.json 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name" : "母婴界",
  3. "appid" : "__UNI__00D1983",
  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. "share" : {
  53. "weixin" : {
  54. "appid" : "",
  55. "UniversalLinks" : ""
  56. }
  57. }
  58. }
  59. }
  60. },
  61. /* SDK配置 */
  62. "quickapp" : {},
  63. /* 快应用特有相关 */
  64. "mp-weixin" : {
  65. /* 小程序特有相关 */
  66. "usingComponents" : true,
  67. "appid" : "",
  68. "setting" : {
  69. "urlCheck" : true
  70. }
  71. },
  72. "h5" : {
  73. "title" : "母婴界",
  74. "domain" : "",
  75. "router" : {
  76. "base" : "/index/",
  77. "mode" : "history"
  78. },
  79. "devServer" : {
  80. "proxy" : {
  81. "/api" : {
  82. "target" : "https://vote.myjie.cn",
  83. "changeOrigin" : true
  84. }
  85. }
  86. }
  87. }
  88. }
  89. // "pathRewrite" : {
  90. // "/api" : "" // rewrite path
  91. // }