Showing
2 changed files
with
17 additions
and
1 deletions
| @@ -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 | } |
-
Please register or login to post a comment