提交 1ae3bc49 编写于 作者: N nobbo

修改config.json相关

Signed-off-by: Nnobbo <gaoshang22@huawei.com>
上级 69155dfa
...@@ -136,13 +136,13 @@ ohos.permission.KEEP_BACKGROUND_RUNNING ...@@ -136,13 +136,13 @@ ohos.permission.KEEP_BACKGROUND_RUNNING
"backgroundModes": [ "backgroundModes": [
"dataTransfer", "dataTransfer",
"location" "location"
], ], // 后台模式类型
"type": "service" "type": "service" // ability类型为service
} }
], ],
"reqPermissions": [ "reqPermissions": [
{ {
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING" "name": "ohos.permission.KEEP_BACKGROUND_RUNNING" // 长时任务权限
} }
] ]
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册