Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
fa43cbd5
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fa43cbd5
编写于
3月 31, 2022
作者:
Q
q00313334
1
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add location user grant
Signed-off-by:
N
q00313334
<
quanli1@huawei.com
>
上级
5477de5d
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
403 addition
and
240 deletion
+403
-240
location/geolocation_standard/signature/openharmony_sx.p7b
location/geolocation_standard/signature/openharmony_sx.p7b
+0
-0
location/geolocation_standard/src/main/config.json
location/geolocation_standard/src/main/config.json
+37
-24
location/geolocation_standard/src/main/js/default/test/Geolocation.test.js
...ion_standard/src/main/js/default/test/Geolocation.test.js
+366
-216
未找到文件。
location/geolocation_standard/signature/openharmony_sx.p7b
浏览文件 @
fa43cbd5
无法预览此类型文件
location/geolocation_standard/src/main/config.json
浏览文件 @
fa43cbd5
...
...
@@ -14,7 +14,7 @@
},
"deviceConfig"
:
{},
"module"
:
{
"package"
:
"ohos.acts.location.geolocation"
,
"package"
:
"ohos.acts.location.geolocation
.function
"
,
"name"
:
".MyApplication"
,
"mainAbility"
:
"ohos.acts.location.geolocation.function.MainAbility"
,
"deviceType"
:
[
...
...
@@ -48,14 +48,34 @@
],
"defPermissions"
:
[
{
"availableScope"
:
[],
"grantMode"
:
"user_grant"
,
"name"
:
"ohos.permission.ACCESS_LOCATION"
,
"availableLevel"
:
"system_basic"
,
"provisionEnable"
:
true
,
"distributedSceneEnable"
:
true
,
"label"
:
"ACCESS_LOCATION label"
,
"description"
:
"ACCESS_LOCATION description"
},
{
"availableScope"
:
[],
"grantMode"
:
"system_grant"
,
"name"
:
"ohos.permission.ACCESS_LOCATION"
"name"
:
"ohos.permission.MANAGE_SECURE_SETTINGS"
,
"availableLevel"
:
"system_basic"
,
"provisionEnable"
:
true
,
"distributedSceneEnable"
:
false
,
"label"
:
"MANAGE_SECURE_SETTINGS label"
,
"description"
:
"MANAGE_SECURE_SETTINGS description"
},
{
"availableScope"
:
[],
"grantMode"
:
"system_grant"
,
"name"
:
"ohos.permission.LOCATION"
"grantMode"
:
"user_grant"
,
"name"
:
"ohos.permission.LOCATION"
,
"availableLevel"
:
"system_basic"
,
"provisionEnable"
:
true
,
"distributedSceneEnable"
:
true
,
"label"
:
"LOCATION label"
,
"description"
:
"LOCATION description"
}
],
"reqPermissions"
:
[
...
...
@@ -89,10 +109,9 @@
"when"
:
"inuse"
}
},
{
"name"
:
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
,
"reason"
:
"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
,
{
"name"
:
"ohos.permission.MANAGE_SECURE_SETTINGS"
,
"reason"
:
"need use ohos.permission.MANAGE_SECURE_SETTINGS"
,
"usedScene"
:
{
"ability"
:
[
"ohos.acts.location.geolocation.function.MainAbility"
...
...
@@ -100,25 +119,19 @@
"when"
:
"inuse"
}
},
{
"name"
:
"ohos.permission.GRANT_SENSITIVE_PERMISSIONS"
,
"reason"
:
"use ohos.permission.GRANT_SENSITIVE_PERMISSIONS"
},
{
"name"
:
"ohos.permission.GET_WIFI_LOCAL_MAC"
,
"reason"
:
"need use ohos.permission.GET_WIFI_LOCAL_MAC"
,
"usedScene"
:
{
"ability"
:
[
"ohos.acts.location.geolocation.function.MainAbility"
],
"when"
:
"inuse"
}
"name"
:
"ohos.permission.REVOKE_SENSITIVE_PERMISSIONS"
,
"reason"
:
"use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS"
},
{
"name"
:
"ohos.permission.GET_WIFI_INFO_INTERNAL"
,
"reason"
:
"need use ohos.permission.GET_WIFI_INFO_INTERNAL"
,
"usedScene"
:
{
"ability"
:
[
"ohos.acts.location.geolocation.function.MainAbility"
],
"when"
:
"inuse"
}
"name"
:
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name"
:
"ohos.permission.GET_BUNDLE_INFO"
}
],
"js"
:
[
...
...
location/geolocation_standard/src/main/js/default/test/Geolocation.test.js
浏览文件 @
fa43cbd5
此差异已折叠。
点击以展开。
鸿蒙社区
@harmonycommunity
mentioned in commit
790bcc08
·
4月 01, 2022
mentioned in commit
790bcc08
mentioned in commit 790bcc085cd1d580cd838182a3f62a589f94ecc3
开关提交列表
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录