1{ 2 "module": { 3 "name": "entry_test", 4 "type": "feature", 5 "description": "$string:module_test_desc", 6 "mainElement": "TestAbility", 7 "deviceTypes": [ 8 "default", 9 "tablet", 10 "2in1", 11 "wearable" 12 ], 13 "deliveryWithInstall": true, 14 "installationFree": false, 15 "pages": "$profile:test_pages", 16 "requestPermissions": [ 17 { 18 "name": "ohos.permission.STORE_PERSISTENT_DATA", 19 "usedScene": { 20 "abilities": [ 21 "FormAbility" 22 ], 23 "when": "inuse" 24 } 25 }, 26 { 27 "name": "ohos.permission.ACCESS_BIOMETRIC", 28 "usedScene": { 29 "abilities": [ 30 "FormAbility" 31 ], 32 "when": "inuse" 33 } 34 } 35 ], 36 "abilities": [ 37 { 38 "name": "TestAbility", 39 "srcEntry": "./ets/TestAbility/TestAbility.ets", 40 "description": "$string:TestAbility_desc", 41 "icon": "$media:icon", 42 "label": "$string:TestAbility_label", 43 "exported": true, 44 "startWindowIcon": "$media:icon", 45 "startWindowBackground": "$color:start_window_background", 46 "skills": [ 47 { 48 "actions": [ 49 "action.system.home" 50 ], 51 "entities": [ 52 "entity.system.home" 53 ] 54 } 55 ] 56 } 57 ] 58 } 59}