1{ 2 "app": { 3 "bundleName": "ohos.acts.resourceschedule.taskmgr.js.function", 4 "vendor": "example", 5 "version": { 6 "code": 1, 7 "name": "1.0" 8 }, 9 "apiVersion": { 10 "compatible": 4, 11 "target": 5 12 } 13 }, 14 "deviceConfig": {}, 15 "module": { 16 "package": "ohos.acts.resourceschedule.taskmgr.js.function", 17 "name": ".entry", 18 "deviceType": [ 19 "tablet", 20 "default", 21 "phone", 22 "2in1", 23 "wearable" 24 ], 25 "distro": { 26 "deliveryWithInstall": true, 27 "moduleName": "entry", 28 "moduleType": "entry", 29 "installationFree": false 30 }, 31 "abilities": [ 32 { 33 "skills": [ 34 { 35 "entities": [ 36 "entity.system.home" 37 ], 38 "actions": [ 39 "action.system.home" 40 ] 41 } 42 ], 43 "orientation": "unspecified", 44 "formsEnabled": false, 45 "name": ".MainAbility", 46 "srcLanguage": "js", 47 "srcPath": "MainAbility", 48 "icon": "$media:icon", 49 "description": "$string:MainAbility_desc", 50 "label": "$string:MainAbility_label", 51 "type": "page", 52 "visible": true, 53 "launchType": "standard" 54 }, 55 { 56 "orientation": "unspecified", 57 "formsEnabled": false, 58 "name": ".TestAbility", 59 "srcLanguage": "js", 60 "srcPath": "TestAbility", 61 "icon": "$media:icon", 62 "description": "$string:TestAbility_desc", 63 "label": "$string:TestAbility_label", 64 "type": "page", 65 "visible": true, 66 "launchType": "standard" 67 }, 68 { 69 "backgroundModes": [ 70 "location" 71 ], 72 "visible": true, 73 "srcPath": "ServiceAbility", 74 "name": ".ServiceAbility", 75 "icon": "$media:icon", 76 "srcLanguage": "js", 77 "description": "$string:description_serviceability", 78 "type": "service" 79 } 80 ], 81 "js": [ 82 { 83 "pages": [ 84 "pages/index/index" 85 ], 86 "name": "default", 87 "window": { 88 "designWidth": 720, 89 "autoDesignWidth": false 90 } 91 }, 92 { 93 "pages": [ 94 "pages/index/index" 95 ], 96 "name": ".TestAbility", 97 "window": { 98 "designWidth": 720, 99 "autoDesignWidth": false 100 } 101 } 102 ], 103 "reqPermissions": [ 104 { 105 "name": "ohos.permission.KEEP_BACKGROUND_RUNNING" 106 } 107 ], 108 "testRunner": { 109 "name": "OpenHarmonyTestRunner", 110 "srcPath": "TestRunner" 111 }, 112 "mainAbility": ".MainAbility", 113 "srcPath": "" 114 } 115}