• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "app": {
3    "bundleName": "ohos.acts.location.geolocation.function",
4    "vendor": "acts",
5    "version": {
6      "code": 1000000,
7      "name": "1.0"
8    }
9  },
10  "deviceConfig": {},
11  "module": {
12    "package": "ohos.acts.location.geolocation.function",
13    "name": ".MyApplication_test",
14    "mainAbility": ".MainAbility",
15    "srcPath": "",
16    "deviceType": [
17      "wearable",
18      "tablet",
19      "default",
20      "phone",
21      "2in1"
22    ],
23    "distro": {
24      "deliveryWithInstall": true,
25      "moduleName": "entry_test",
26      "moduleType": "feature",
27      "installationFree": false
28    },
29    "abilities": [
30      {
31        "orientation": "unspecified",
32        "formsEnabled": false,
33        "name": ".TestAbility",
34        "srcLanguage": "js",
35        "srcPath": "TestAbility",
36        "icon": "$media:icon",
37        "description": "$string:TestAbility_desc",
38        "label": "$string:TestAbility_label",
39        "type": "page",
40        "visible": true,
41        "launchType": "standard"
42      }
43    ],
44    "reqPermissions": [
45      {
46        "name": "ohos.permission.LOCATION",
47        "reason": "need use ohos.permission.LOCATION",
48        "usedScene": {
49          "ability": [
50            "ohos.acts.location.geolocation.function.MainAbility"
51          ],
52          "when": "inuse"
53        }
54      },
55      {
56        "name": "ohos.permission.ACCESS_LOCATION",
57        "reason": "need use ohos.permission.ACCESS_LOCATION",
58        "usedScene": {
59          "ability": [
60            "ohos.acts.location.geolocation.function.MainAbility"
61          ],
62          "when": "inuse"
63        }
64      },
65      {
66        "name": "ohos.permission.APPROXIMATELY_LOCATION",
67        "reason": "need use ohos.permission.APPROXIMATELY_LOCATION",
68        "usedScene": {
69          "ability": [
70            "ohos.acts.location.geolocation.function.MainAbility"
71          ],
72          "when": "inuse"
73        }
74      },
75      {
76        "name": "ohos.permission.LOCATION_IN_BACKGROUND",
77        "reason": "need use ohos.permission.LOCATION_IN_BACKGROUND",
78        "usedScene": {
79          "ability": [
80            "ohos.acts.location.geolocation.function.MainAbility"
81          ],
82          "when": "inuse"
83        }
84      },
85      {
86        "name": "ohos.permission.MANAGE_SECURE_SETTINGS",
87        "reason": "need use ohos.permission.MANAGE_SECURE_SETTINGS",
88        "usedScene": {
89          "ability": [
90            "ohos.acts.location.geolocation.function.MainAbility"
91          ],
92          "when": "inuse"
93        }
94      },
95      {
96        "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS",
97        "reason": "use ohos.permission.GRANT_SENSITIVE_PERMISSIONS"
98      },
99      {
100        "name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS",
101        "reason": "use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS"
102      },
103      {
104        "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
105      },
106      {
107        "name": "ohos.permission.GET_BUNDLE_INFO"
108      },
109      {
110        "name": "ohos.permission.DISTRIBUTED_DATASYNC",
111        "reason": "ceshi"
112      },
113      {
114        "name": "ohos.permission.CONTROL_LOCATION_SWITCH"
115      }
116    ],
117    "js": [
118      {
119        "pages": [
120          "pages/index/index"
121        ],
122        "name": ".TestAbility",
123        "window": {
124          "designWidth": 720,
125          "autoDesignWidth": false
126        }
127      }
128    ],
129    "testRunner": {
130      "name": "OpenHarmonyTestRunner",
131      "srcPath": "TestRunner"
132    },
133    "defPermissions": [
134      {
135        "availableScope": [],
136        "grantMode": "system_grant",
137        "name": "ohos.permission.DISTRIBUTED_DATASYNC"
138      }
139    ]
140  }
141}