| { |
| "module": { |
| "name": "servoshell", |
| "type": "entry", |
| "description": "$string:module_desc", |
| "mainElement": "EntryAbility", |
| "deviceTypes": [ |
| "default" |
| ], |
| "deliveryWithInstall": true, |
| "installationFree": false, |
| "pages": "$profile:main_pages", |
| "abilities": [ |
| { |
| "name": "EntryAbility", |
| "srcEntry": "./ets/entryability/EntryAbility.ets", |
| "description": "$string:EntryAbility_desc", |
| "icon": "$media:servo_1024", |
| "label": "$string:EntryAbility_label", |
| "startWindowIcon": "$media:servo_64", |
| "startWindowBackground": "$color:start_window_background", |
| "exported": true, |
| "skills": [ |
| { |
| "entities": [ |
| "entity.system.home" |
| ], |
| "actions": [ |
| "action.system.home" |
| ] |
| } |
| ] |
| } |
| ], |
| // ohos.permission.RUN_DYN_CODE - required for JIT? |
| "requestPermissions": [ |
| { |
| "name": "ohos.permission.GET_NETWORK_INFO", |
| "reason": "$string:perm_reason", |
| }, |
| { |
| "name": "ohos.permission.INTERNET", |
| "reason": "$string:perm_reason", |
| }, |
| { |
| "name": "ohos.permission.KEEP_BACKGROUND_RUNNING", |
| "reason": "$string:perm_reason", |
| }, |
| |
| ] |
| } |
| } |