From 0d7887a5ccf3972718d273acc8deff988744c537 Mon Sep 17 00:00:00 2001 From: wu-liushuan Date: Fri, 7 Nov 2025 15:56:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E5=B7=A5=E7=A8=8B=E8=A1=A5?= =?UTF-8?q?=E5=85=85system=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wu-liushuan --- .../RequestUserAuthorization/entry/src/main/module.json5 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Security/RequestUserAuthorization/entry/src/main/module.json5 b/Security/RequestUserAuthorization/entry/src/main/module.json5 index 4559bfdffd1..cdf0055b557 100644 --- a/Security/RequestUserAuthorization/entry/src/main/module.json5 +++ b/Security/RequestUserAuthorization/entry/src/main/module.json5 @@ -74,6 +74,8 @@ } ], // [EndExclude request_permission_json] + // 1.ohos.permission.APPROXIMATELY_LOCATION与ohos.permission.LOCATION为user_grant权限,reason和usedScene为必填字段。 + // 2.ohos.permission.USE_BLUETOOTH为system_grant权限,reason和usedScene为选填字段。 "requestPermissions": [ { "name": "ohos.permission.APPROXIMATELY_LOCATION", @@ -93,7 +95,10 @@ "FormAbility" ], "when": "inuse" - }, + } + }, + { + "name": "ohos.permission.USE_BLUETOOTH" } ] } -- Gitee