• 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    "apiVersion": {
10      "compatible": 4,
11      "target": 5,
12      "releaseType": "Beta1"
13    }
14  },
15  "deviceConfig": {},
16  "module": {
17    "package": "ohos.acts.location.geolocation.function",
18    "name": ".MyApplication",
19    "mainAbility": "ohos.acts.location.geolocation.function.MainAbility",
20    "deviceType": [
21      "tablet",
22      "default",
23      "phone"
24    ],
25    "distro": {
26      "deliveryWithInstall": true,
27      "moduleName": "entry",
28      "moduleType": "entry"
29    },
30    "abilities": [
31      {
32        "skills": [
33          {
34            "entities": [
35              "entity.system.home"
36            ],
37            "actions": [
38              "action.system.home"
39            ]
40          }
41        ],
42        "visible": true,
43        "name": "ohos.acts.location.geolocation.function.MainAbility",
44        "icon": "$media:icon",
45        "description": "$string:mainability_description",
46        "label": "$string:app_name",
47        "type": "page",
48        "launchType": "standard"
49      }
50    ],
51    "reqPermissions": [
52      {
53        "name": "ohos.permission.LOCATION",
54        "reason": "need use ohos.permission.LOCATION",
55        "usedScene": {
56          "ability": [
57            "ohos.acts.location.geolocation.function.MainAbility"
58          ],
59          "when": "inuse"
60        }
61      },
62      {
63        "name":"ohos.permission.ACCESS_LOCATION",
64        "reason":"need use ohos.permission.ACCESS_LOCATION",
65        "usedScene": {
66          "ability": [
67            "ohos.acts.location.geolocation.function.MainAbility"
68          ],
69          "when": "inuse"
70        }
71      },
72      {
73        "name":"ohos.permission.APPROXIMATELY_LOCATION",
74        "reason":"need use ohos.permission.APPROXIMATELY_LOCATION",
75        "usedScene": {
76          "ability": [
77            "ohos.acts.location.geolocation.function.MainAbility"
78          ],
79          "when": "inuse"
80        }
81      },
82      {
83        "name":"ohos.permission.LOCATION_IN_BACKGROUND",
84        "reason":"need use ohos.permission.LOCATION_IN_BACKGROUND",
85        "usedScene": {
86          "ability": [
87            "ohos.acts.location.geolocation.function.MainAbility"
88          ],
89          "when": "inuse"
90        }
91      },
92   {
93        "name":"ohos.permission.MANAGE_SECURE_SETTINGS",
94        "reason":"need use ohos.permission.MANAGE_SECURE_SETTINGS",
95        "usedScene": {
96          "ability": [
97            "ohos.acts.location.geolocation.function.MainAbility"
98          ],
99          "when": "inuse"
100        }
101      },
102     {
103        "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS",
104        "reason": "use ohos.permission.GRANT_SENSITIVE_PERMISSIONS"
105      },
106      {
107        "name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS",
108        "reason": "use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS"
109      },
110      {
111        "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
112      },
113      {
114        "name": "ohos.permission.GET_BUNDLE_INFO"
115      }
116    ],
117    "js": [
118      {
119        "pages": [
120          "pages/index/index"
121        ],
122        "name": "default",
123        "window": {
124          "designWidth": 720,
125          "autoDesignWidth": false
126        }
127      }
128    ]
129  }
130}
131
132