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