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 "metadata": [ 20 { 21 "name": "ArkTSPartialUpdate", 22 "value": "true" 23 } 24 ], 25 "abilities": [ 26 { 27 "name": "com.acts.inputmethodengine.test.MainAbility", 28 "srcEntrance": "./ets/MainAbility/MainAbility.ts", 29 "description": "$string:phone_entry_main", 30 "icon": "$media:icon", 31 "label": "$string:entry_label", 32 "visible": true, 33 "orientation": "portrait", 34 "launchType": "singleton", 35 "skills": [ 36 { 37 "actions": [ 38 "action.system.home" 39 ], 40 "entities": [ 41 "entity.system.home" 42 ] 43 } 44 ] 45 } 46 ], 47 "extensionAbilities": [ 48 { 49 "description": "输入法demoStage", 50 "icon": "$media:icon", 51 "name": "inputStageService", 52 "srcEntrance": "./ets/InputMethodAbility/InputStageService.ts", 53 "type": "inputMethod", 54 "visible": true 55 }, 56 { 57 "description": "输入法Demo", 58 "icon": "$media:icon", 59 "name": "InputDemoService", 60 "srcEntrance": "./ets/InputMethodEngine/InputDemoService.ts", 61 "type": "inputMethod", 62 "visible": true 63 }, 64 { 65 "description": "keyEventDemo", 66 "icon": "$media:icon", 67 "name": "InputKeyService", 68 "srcEntrance": "./ets/InputMethodEngineKey/InputKeyService.ts", 69 "type": "inputMethod", 70 "visible": true 71 } 72 ], 73 "requestPermissions": [ 74 { 75 "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 76 "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 77 }, 78 { 79 "name": "ohos.permission.CONNECT_IME_ABILITY" 80 } 81 ] 82 } 83}