module.json5 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "module": {
  3. "name": "entry",
  4. "type": "entry",
  5. "description": "$string:module_desc",
  6. "mainElement": "EntryAbility",
  7. "deviceTypes": [
  8. "phone",
  9. "tablet",
  10. "2in1"
  11. ],
  12. "deliveryWithInstall": true,
  13. "installationFree": false,
  14. "pages": "$profile:main_pages",
  15. "abilities": [
  16. {
  17. "name": "EntryAbility",
  18. "srcEntry": "./ets/entryability/EntryAbility.ets",
  19. "description": "$string:EntryAbility_desc",
  20. "icon": "$media:layered_image",
  21. "label": "$string:EntryAbility_label",
  22. "startWindowIcon": "$media:startIcon",
  23. "startWindowBackground": "$color:start_window_background",
  24. "exported": true,
  25. "skills": [
  26. {
  27. "entities": [
  28. "entity.system.home"
  29. ],
  30. "actions": [
  31. "action.system.home"
  32. ]
  33. }
  34. ]
  35. }
  36. ],
  37. "requestPermissions": [
  38. {
  39. "name": "ohos.permission.INTERNET"
  40. },
  41. {
  42. "name": "ohos.permission.APP_TRACKING_CONSENT",
  43. "reason": "$string:tracking_consent",
  44. "usedScene": {
  45. "when": "inuse"
  46. }
  47. }
  48. ],
  49. "metadata": [
  50. {
  51. "name": "GETUI_APPID",
  52. "value": "MXiwNfEPez7dO9u5ZcSnR8"
  53. }
  54. ]
  55. }
  56. }