1{ 2 "module": { 3 "name": "callui", 4 "type": "entry", 5 "srcEntrance": "./ets/Application/MyAbilityStage.ts", 6 "description": "$string:callui_description", 7 "mainElement": "com.ohos.callui.ServiceAbility", 8 "deviceTypes": [ 9 "default", 10 "tablet" 11 ], 12 "deliveryWithInstall": true, 13 "installationFree": false, 14 "pages": "$profile:main_pages", 15 "metadata": [ 16 { 17 "name": "ArkTSPartialUpdate", 18 "value": "false" 19 } 20 ], 21 "uiSyntax": "ets", 22 "abilities": [ 23 { 24 "name": "com.ohos.callui.MainAbility", 25 "srcEntrance": "./ets/MainAbility/MainAbility.ts", 26 "description": "$string:callui_description", 27 "icon": "$media:app_icon", 28 "label": "$string:callui_description", 29 "startWindowIcon": "$media:app_icon", 30 "startWindowBackground": "$color:black", 31 "removeMissionAfterTerminate": true, 32 "visible": true, 33 "minWindowHeight": 700, 34 "minWindowWidth": 320, 35 "skills": [ 36 { 37 "entities": [ 38 "entity.system.home" 39 ], 40 "actions": [ 41 "action.system.home" 42 ] 43 } 44 ], 45 "backgroundModes": [ 46 "voip" 47 ] 48 } 49 ], 50 "extensionAbilities": [ 51 { 52 "name": "com.ohos.callui.ServiceAbility", 53 "icon": "$media:app_icon", 54 "description": "service", 55 "type": "service", 56 "visible": true, 57 "srcEntrance": "./ets/ServiceAbility/ServiceAbility.ts", 58 "label": "$string:callui_description" 59 } 60 ], 61 "requestPermissions": [ 62 { 63 "name": "ohos.permission.READ_CONTACTS" 64 }, 65 { 66 "name": "ohos.permission.SEND_MESSAGES" 67 }, 68 { 69 "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 70 }, 71 { 72 "name": "ohos.permission.GET_TELEPHONY_STATE" 73 }, 74 { 75 "name": "ohos.permission.NOTIFICATION_CONTROLLER" 76 }, 77 { 78 "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" 79 }, 80 { 81 "name": "ohos.permission.KEEP_BACKGROUND_RUNNING" 82 }, 83 { 84 "name": "ohos.permission.ANSWER_CALL" 85 } 86 ] 87 } 88}