• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "module": {
3    "name": "entry",
4    "type": "entry",
5    "srcEntry": "./ets/Application/MyAbilityStage.ts",
6    "description": "$string:mainability_description",
7    "mainElement": "com.ohos.contacts.MainAbility",
8    "deviceTypes": [
9      "default"
10    ],
11    "deliveryWithInstall": true,
12    "installationFree": false,
13    "pages": "$profile:main_pages",
14    "metadata": [
15      {
16        "name": "ArkTSPartialUpdate",
17        "value": "true"
18      }
19    ],
20    "abilities": [
21      {
22        "name": "com.ohos.contacts.MainAbility",
23        "srcEntry": "./ets/MainAbility/MainAbility.ts",
24        "description": "$string:mainability_description",
25        "icon": "$media:ic_contact_icon",
26        "label": "$string:app_name",
27        "startWindowIcon": "$media:white",
28        "startWindowBackground": "$color:detail_main_background",
29        "minWindowWidth": 320,
30        "minWindowHeight": 700,
31        "visible": true,
32        "skills": [
33          {
34            "entities": [
35              "entity.system.home"
36            ],
37            "actions": [
38              "action.system.home"
39            ]
40          }
41        ],
42      }
43    ],
44    "extensionAbilities": [
45      {
46        "description": "subscriber",
47        "label": "$string:missed_call",
48        "icon": "$media:ic_notification_call_missed",
49        "metadata": [
50          {
51            "name": "ohos.extension.staticSubscriber",
52            "resource": "$profile:static_subscriber_config"
53          }
54        ],
55        "name": "Subscriber",
56        "srcEntry": "./ets/StaticSubscriber/StaticSubscriber.ts",
57        "type": "staticSubscriber",
58        "exported": true
59      },
60    ],
61    "requestPermissions": [
62      {
63        "name": "ohos.permission.VIBRATE"
64      },
65      {
66        "name": "ohos.permission.READ_CONTACTS",
67        "reason": "$string:permission_read_write_contacts",
68        "usedScene": {}
69      },
70      {
71        "name": "ohos.permission.WRITE_CONTACTS",
72        "reason": "$string:permission_read_write_contacts",
73        "usedScene": {}
74      },
75      {
76        "name": "ohos.permission.MANAGE_VOICEMAIL",
77        "reason": "$string:permission_manage_voicemail",
78        "usedScene": {}
79      },
80      {
81        "name": "ohos.permission.READ_CALL_LOG",
82        "reason": "$string:permission_read_write_calllog",
83        "usedScene": {}
84      },
85      {
86        "name": "ohos.permission.WRITE_CALL_LOG",
87        "reason": "$string:permission_read_write_calllog",
88        "usedScene": {}
89      },
90      {
91        "name": "ohos.permission.PLACE_CALL"
92      },
93      {
94        "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
95      },
96      {
97        "name": "ohos.permission.CONNECT_IME_ABILITY"
98      },
99      {
100        "name": "ohos.permission.GET_TELEPHONY_STATE"
101      },
102      {
103        "name": "ohos.permission.NOTIFICATION_CONTROLLER"
104      },
105      {
106        "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND"
107      },
108      {
109        "name": "ohos.permission.GET_NETWORK_INFO"
110      },
111      {
112        "name": "ohos.permission.SET_TELEPHONY_STATE"
113      }
114    ]
115  }
116}