1{ 2 "module": { 3 "name": "phone", 4 "type": "entry", 5 "srcEntrance": "./ets/Application/AbilityStage.ts", 6 "description": "$string:phone_entry_dsc", 7 "mainElement": "MainAbility", 8 "deviceTypes": [ 9 "tablet", 10 "default", 11 "phone", 12 "2in1", 13 "wearable" 14 ], 15 "deliveryWithInstall": true, 16 "installationFree": false, 17 "uiSyntax": "ets", 18 "pages": "$profile:main_pages", 19 "abilities": [ 20 { 21 "name": "com.acts.inputmethoddrawncontrol.test.MainAbility", 22 "srcEntrance": "./ets/MainAbility/MainAbility.ts", 23 "description": "$string:phone_entry_main", 24 "icon": "$media:icon", 25 "label": "$string:entry_label", 26 "visible": true, 27 "orientation": "portrait", 28 "launchType": "singleton", 29 "skills": [ 30 { 31 "actions": [ 32 "action.system.home" 33 ], 34 "entities": [ 35 "entity.system.home" 36 ] 37 } 38 ] 39 } 40 ], 41 "extensionAbilities": [ 42 { 43 "description": "inputPanelTest", 44 "icon": "$media:icon", 45 "name": "inputMethodWindService", 46 "srcEntrance": "./ets/InputMethodDrawnControl/InputMethodControlService.ts", 47 "type": "inputMethod", 48 "visible": true 49 } 50 ], 51 "requestPermissions": [ 52 { 53 "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 54 "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 55 }, 56 { 57 "name": "ohos.permission.CONNECT_IME_ABILITY" 58 } 59 ] 60 } 61}