config.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. {
  2. "app": {
  3. "vendor": "fujica",
  4. "bundleName": "com.fujica.abk",
  5. "version": {
  6. "code": 1000001,
  7. "name": "1.0.1"
  8. }
  9. },
  10. "deviceConfig": {
  11. "default": {
  12. "network": {
  13. "cleartextTraffic": true
  14. },
  15. "allowComponentsProxy": true
  16. }
  17. },
  18. "module": {
  19. "allowClassMap": true,
  20. "reqPermissions": [
  21. {
  22. "name": "ohos.permission.MANAGE_SECURE_SETTINGS",
  23. "reason": "获取设置项的车牌信息"
  24. },
  25. {
  26. "name": "ohos.permission.LOCATION",
  27. "reason": "需要定位权限以查询附近停车场",
  28. "usedScene": {
  29. "ability": [
  30. "com.fujica.abk.MainAbility"
  31. ],
  32. "when": "inuse"
  33. }
  34. },
  35. {
  36. "name": "ohos.permission.APPROXIMATELY_LOCATION",
  37. "reason": "需要大致位置权限",
  38. "usedScene": {
  39. "ability": [
  40. "com.fujica.abk.MainAbility"
  41. ],
  42. "when": "inuse"
  43. }
  44. },
  45. {
  46. "name": "ohos.permission.INTERNET",
  47. "reason": "access internet",
  48. "usedScene": {
  49. "ability": [
  50. "com.fujica.abk.MainAbility"
  51. ],
  52. "when": "always"
  53. }
  54. },
  55. {
  56. "name": "ohos.permission.GET_NETWORK_INFO",
  57. "reason": "GET_NETWORK_INFO",
  58. "usedScene": {
  59. "ability": [
  60. "com.fujica.abk.MainAbility"
  61. ],
  62. "when": "always"
  63. }
  64. },
  65. {
  66. "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
  67. "reason": "GET_BUNDLE_INFO_PRIVILEGED",
  68. "usedScene": {
  69. "ability": [
  70. "com.fujica.abk.MainAbility"
  71. ],
  72. "when": "always"
  73. }
  74. }
  75. ],
  76. "metaData":{
  77. "customizeData":[
  78. {
  79. "name": "hwc-theme",
  80. "value": "androidhwext:style/Theme.Emui.Light.NoTitleBar",
  81. "extra": ""
  82. },
  83. {
  84. "name": "com.huawei.hms.client.appid",
  85. "value": "116162389"
  86. }
  87. ]
  88. },
  89. "mainAbility": "com.fujica.abk.MainAbility",
  90. "deviceType": [
  91. "car","phone"
  92. ],
  93. "abilities": [
  94. {
  95. "skills": [
  96. {
  97. "entities": [
  98. "entity.system.home"
  99. ],
  100. "actions": [
  101. "action.system.home"
  102. ]
  103. }
  104. ],
  105. "orientation": "landscape",
  106. "visible": true,
  107. "name": "com.fujica.abk.MainAbility",
  108. "icon": "$media:icon",
  109. "description": "$string:mainability_description",
  110. "formsEnabled": true,
  111. "label": "$string:entry_MainAbility",
  112. "type": "page",
  113. "forms": [
  114. {
  115. "jsComponentName": "widget",
  116. "isDefault": true,
  117. "scheduledUpdateTime": "10:30",
  118. "defaultDimension": "2*2",
  119. "name": "widget",
  120. "description": "爱泊客停车缴费",
  121. "colorMode": "auto",
  122. "type": "JS",
  123. "supportDimensions": [
  124. "2*4","2*2"
  125. ],
  126. "updateEnabled": true,
  127. "updateDuration": 1
  128. },
  129. {
  130. "jsComponentName": "widget1",
  131. "isDefault": false,
  132. "scheduledUpdateTime": "10:30",
  133. "defaultDimension": "2*2",
  134. "name": "widget1",
  135. "description": "爱泊客停车缴费",
  136. "colorMode": "auto",
  137. "type": "JS",
  138. "supportDimensions": [
  139. "2*4","2*2"
  140. ],
  141. "updateEnabled": true,
  142. "updateDuration": 1
  143. }
  144. ],
  145. "launchType": "standard"
  146. },
  147. {
  148. "orientation": "landscape",
  149. "visible": true,
  150. "name": ".JsAbility",
  151. "srcPath": "jsability",
  152. "icon": "$media:icon",
  153. "description": "JS Ability 示例",
  154. "label": "JS Ability",
  155. "type": "page",
  156. "launchType": "standard"
  157. }
  158. ],
  159. "distro": {
  160. "moduleType": "entry",
  161. "installationFree": true,
  162. "deliveryWithInstall": true,
  163. "moduleName": "entry"
  164. },
  165. "package": "com.fujica.abk",
  166. "name": ".MyApplication",
  167. "js": [
  168. {
  169. "name": "widget",
  170. "pages": [
  171. "pages/index/index"
  172. ],
  173. "window": {
  174. "designWidth": 720,
  175. "autoDesignWidth": true
  176. },
  177. "type": "form"
  178. },
  179. {
  180. "name": "widget1",
  181. "pages": [
  182. "pages/index/index"
  183. ],
  184. "window": {
  185. "designWidth": 720,
  186. "autoDesignWidth": true
  187. },
  188. "type": "form"
  189. },
  190. {
  191. "name": "jsability",
  192. "pages": [
  193. "pages/index/index"
  194. ],
  195. "window": {
  196. "designWidth": 720,
  197. "autoDesignWidth": true
  198. }
  199. }
  200. ]
  201. }
  202. }