• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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": "false"
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": "输入法demoStage",
48              "icon": "$media:icon",
49              "name": "inputStageService",
50              "srcEntrance": "./ets/InputMethodAbility/InputStageService.ts",
51              "type": "inputMethod",
52              "visible":true
53            },
54            {
55              "description": "输入法Demo",
56              "icon": "$media:icon",
57              "name": "InputDemoService",
58              "srcEntrance": "./ets/InputMethodEngine/InputDemoService.ts",
59              "type": "inputMethod",
60              "visible":true
61            }
62        ],
63        "requestPermissions": [
64            {
65              "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
66              "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
67            },
68          {
69            "name": "ohos.permission.CONNECT_IME_ABILITY"
70          }
71        ]
72    }
73}
74