manifest.json 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name" : "",
  3. "appid" : "",
  4. "description": "应用描述",
  5. "versionName": "1.0.0",
  6. "versionCode": "100",
  7. "transformPx": false,
  8. /* 5+App特有相关 */
  9. "app-plus": {
  10. "usingComponents": true,
  11. "splashscreen": {
  12. "alwaysShowBeforeRender": true,
  13. "waiting": true,
  14. "autoclose": true,
  15. "delay": 0
  16. },
  17. "modules": {
  18. "OAuth": {},
  19. "Payment": {},
  20. "Push": {},
  21. "Share": {},
  22. "Speech": {},
  23. "VideoPlayer": {}
  24. },
  25. /* 应用发布信息 */
  26. "distribute": {
  27. /* android打包配置 */
  28. "android": {
  29. "permissions": [
  30. "<uses-feature android:name=\"android.hardware.camera\"/>",
  31. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  32. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  33. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  34. "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
  35. "<uses-permission android:name=\"android.permission.ACCESS_MOCK_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.GET_ACCOUNTS\"/>",
  44. "<uses-permission android:name=\"android.permission.GET_TASKS\"/>",
  45. "<uses-permission android:name=\"android.permission.INTERNET\"/>",
  46. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  47. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  48. "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
  49. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  50. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  51. "<uses-permission android:name=\"android.permission.READ_SMS\"/>",
  52. "<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\"/>",
  53. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  54. "<uses-permission android:name=\"android.permission.SEND_SMS\"/>",
  55. "<uses-permission android:name=\"android.permission.SYSTEM_ALERT_WINDOW\"/>",
  56. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  57. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  58. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
  59. "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
  60. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
  61. "<uses-permission android:name=\"android.permission.WRITE_SMS\"/>",
  62. "<uses-permission android:name=\"android.permission.RECEIVE_USER_PRESENT\"/>"
  63. ]
  64. },
  65. /* ios打包配置 */
  66. "ios": {
  67. "UIBackgroundModes": ["audio"]
  68. },
  69. /* SDK配置 */
  70. "sdkConfigs": {
  71. "speech": {
  72. "ifly": {}
  73. }
  74. },
  75. "orientation": ["portrait-primary"]
  76. }
  77. },
  78. /* 快应用特有相关 */
  79. "quickapp": {},
  80. /* 小程序特有相关 */
  81. "mp-weixin": {
  82. "appid": "",
  83. "setting": {
  84. "urlCheck": false
  85. },
  86. "usingComponents": true
  87. },
  88. "h5": {
  89. "template": "template.h5.html",
  90. "router": {
  91. "mode": "history",
  92. "base": "/h5/"
  93. }
  94. }
  95. }