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