diff --git a/Security/RequestUserAuthorization/entry/src/main/module.json5 b/Security/RequestUserAuthorization/entry/src/main/module.json5 index 4559bfdffd18d0f58d96469a33be0267ff705f9e..cdf0055b55719e3a8450fe4be7b0e9ef053b5024 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" } ] }