From b17833d5305f27d6df83f9e3274fd5918c5bb51a Mon Sep 17 00:00:00 2001 From: chenwenhui133 <2984202073@qq.com> Date: Tue, 9 Sep 2025 15:38:01 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#ICX4QU]=20react-native-devi?= =?UTF-8?q?ce-info=E5=BA=93=E6=96=87=E6=A1=A3=E4=B8=AD=E5=A2=9E=E5=8A=A0DI?= =?UTF-8?q?STRIBUTED=5FDATASYNC=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-device-info.md | 10 ++++++++++ zh-cn/react-native-device-info.md | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/en/react-native-device-info.md b/en/react-native-device-info.md index acabbf98..ea778939 100644 --- a/en/react-native-device-info.md +++ b/en/react-native-device-info.md @@ -257,6 +257,16 @@ Open `entry/src/main/module.json5`, add the following permission: }, { "name": "ohos.permission.GET_WIFI_INFO" + }, + { + "name": "ohos.permission.DISTRIBUTED_DATASYNC", + "reason": "$string:DATA_SYNC", + "usedScene": { + "abilities": [ + "EntryAbility" + ], + "when": "always" + } } ] ``` diff --git a/zh-cn/react-native-device-info.md b/zh-cn/react-native-device-info.md index e0d2b73e..76e15681 100644 --- a/zh-cn/react-native-device-info.md +++ b/zh-cn/react-native-device-info.md @@ -256,6 +256,16 @@ ohpm install }, { "name": "ohos.permission.GET_WIFI_INFO" + }, + { + "name": "ohos.permission.DISTRIBUTED_DATASYNC", + "reason": "$string:DATA_SYNC", + "usedScene": { + "abilities": [ + "EntryAbility" + ], + "when": "always" + } } ] ``` -- Gitee