shishuangxi

添加定位权限说明

@@ -9,6 +9,18 @@ @@ -9,6 +9,18 @@
9 "2in1" 9 "2in1"
10 ], 10 ],
11 "deliveryWithInstall": true, 11 "deliveryWithInstall": true,
12 - "pages": "$profile:main_pages" 12 + "pages": "$profile:main_pages",
  13 + "requestPermissions": [
  14 + {
  15 + "name": "ohos.permission.APPROXIMATELY_LOCATION",
  16 + "reason": "$string:location_reason",
  17 + "usedScene": {
  18 + "abilities": [
  19 + "FormAbility"
  20 + ],
  21 + "when": "inuse"
  22 + }
  23 + }
  24 + ]
13 } 25 }
14 } 26 }
@@ -3,6 +3,10 @@ @@ -3,6 +3,10 @@
3 { 3 {
4 "name": "shared_desc", 4 "name": "shared_desc",
5 "value": "description" 5 "value": "description"
  6 + },
  7 + {
  8 + "name": "location_reason",
  9 + "value": " "
6 } 10 }
7 ] 11 ]
8 } 12 }