From d8fac3095260d4f4535c8691d41451dd6fdb45e6 Mon Sep 17 00:00:00 2001 From: chenyihao9 <286884497@qq.com> Date: Mon, 27 Oct 2025 17:09:21 +0800 Subject: [PATCH 1/4] =?UTF-8?q?docs:=20[Issues:=20#ICXJ4Z]=20=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E9=9C=80=E6=B1=82=EF=BC=8C=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/lottie-react-native.md | 2 +- ...eact-native-async-storage-async-storage.md | 2 +- en/react-native-blob-util.md | 2 +- en/react-native-cameraroll.md | 2 +- en/react-native-community-netinfo.md | 2 +- en/react-native-fs.md | 2 +- en/react-native-gesture-handler.md | 28 +++++++++++++------ en/react-native-linear-gradient.md | 2 +- en/react-native-localize.md | 2 +- en/react-native-orientation-locker.md | 2 +- en/react-native-sound.md | 2 +- en/react-native-webview.md | 2 +- zh-cn/lottie-react-native.md | 2 +- ...eact-native-async-storage-async-storage.md | 2 +- zh-cn/react-native-blob-util.md | 2 +- zh-cn/react-native-cameraroll.md | 2 +- zh-cn/react-native-community-netinfo.md | 2 +- zh-cn/react-native-fs.md | 2 +- zh-cn/react-native-gesture-handler.md | 27 ++++++++++++------ zh-cn/react-native-linear-gradient.md | 2 +- zh-cn/react-native-localize.md | 2 +- zh-cn/react-native-orientation-locker.md | 2 +- zh-cn/react-native-sound.md | 2 +- zh-cn/react-native-webview.md | 2 +- 24 files changed, 61 insertions(+), 38 deletions(-) diff --git a/en/lottie-react-native.md b/en/lottie-react-native.md index 01b301a6c..8d839ed2b 100644 --- a/en/lottie-react-native.md +++ b/en/lottie-react-native.md @@ -73,7 +73,7 @@ export default App; ## Link -Version >= @react-native-ohos/lottie-react-native@6.4.2 now supports Autolink without requiring manual configuration. +Version >= @react-native-ohos/lottie-react-native@6.4.2 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks. Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md The 0.72 branch supports full Autolinking functionality starting from the RNOH 0.72.94 version (corresponding to the @react-native-oh/react-native-harmony-cli version 0.0.40). diff --git a/en/react-native-async-storage-async-storage.md b/en/react-native-async-storage-async-storage.md index aad2459a7..199a405aa 100644 --- a/en/react-native-async-storage-async-storage.md +++ b/en/react-native-async-storage-async-storage.md @@ -118,7 +118,7 @@ export default function App() { ## Link -Version >= @react-native-ohos/async-storage@1.21.1 now supports Autolink without requiring manual configuration. +Version >= @react-native-ohos/async-storage@1.21.1 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks. Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Currently, Version <= @react-native-oh-tpl/async-storage@1.21.0-0.2.2@deprecated does not support AutoLink. Therefore, you need to manually configure the linking. diff --git a/en/react-native-blob-util.md b/en/react-native-blob-util.md index 49fcd3d86..8a4b7ccf1 100644 --- a/en/react-native-blob-util.md +++ b/en/react-native-blob-util.md @@ -406,7 +406,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th ## Link -Version >= @react-native-ohos/react-native-blob-util@0.19.8 now supports Autolink without requiring manual configuration. +Version >= @react-native-ohos/react-native-blob-util@0.19.8 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks. Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Currently, Version <= @react-native-oh-tpl/react-native-blob-util@0.19.7@deprecated does not support AutoLink. Therefore, you need to manually configure the linking. diff --git a/en/react-native-cameraroll.md b/en/react-native-cameraroll.md index 9ec808c04..5579f4656 100644 --- a/en/react-native-cameraroll.md +++ b/en/react-native-cameraroll.md @@ -79,7 +79,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th ## Link -Version >= @react-native-ohos/camera-roll@7.8.4 now supports Autolink without requiring manual configuration. +Version >= @react-native-ohos/camera-roll@7.8.4 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks. Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Currently, Version <= @react-native-oh-tpl/camera-roll@7.8.3-0.1.5@deprecated does not support AutoLink. Therefore, you need to manually configure the linking. diff --git a/en/react-native-community-netinfo.md b/en/react-native-community-netinfo.md index 396225505..f292539c7 100644 --- a/en/react-native-community-netinfo.md +++ b/en/react-native-community-netinfo.md @@ -82,7 +82,7 @@ export default App; ## Link -Version >= @react-native-ohos/netinfo@11.1.1 now supports Autolink without requiring manual configuration. +Version >= @react-native-ohos/netinfo@11.1.1 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks. Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Currently, Version <= @react-native-oh-tpl/netinfo@11.1.0-0.0.8@deprecated does not support AutoLink. Therefore, you need to manually configure the linking. diff --git a/en/react-native-fs.md b/en/react-native-fs.md index bd89004fa..be466d830 100644 --- a/en/react-native-fs.md +++ b/en/react-native-fs.md @@ -117,7 +117,7 @@ export default App; ``` ## 2. Manual Link -Version >= @react-native-ohos/react-native-fs@2.20.2 now supports Autolink without requiring manual configuration. +Version >= @react-native-ohos/react-native-fs@2.20.2 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks. Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Currently, Version < @react-native-ohos/react-native-fs@2.20.2,Version <= @react-native-oh-tpl/react-native-fs@2.20.0-0.1.14@deprecated does not support AutoLink. Therefore, you need to manually configure the linking. diff --git a/en/react-native-gesture-handler.md b/en/react-native-gesture-handler.md index 9c36849df..483f49619 100644 --- a/en/react-native-gesture-handler.md +++ b/en/react-native-gesture-handler.md @@ -14,9 +14,16 @@ > [!TIP] [Github address](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler) +This third-party library has been migrated to Gitcode and is now available for direct download from npm, the new package name is: `@react-native-ohos/react-native-gesture-handler`, After introducing the new version of the third-party library, The version correspondence details are as follows: + +| Version | Package Name | Repository | Release | +| ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | +| <= 2.14.17@deprecated | @react-native-oh-tpl/react-native-gesture-handler | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-gesture-handler) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-gesture-handler/releases) | +| >= 2.14.18 | @react-native-ohos/react-native-gesture-handler | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-gesture-handler) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-gesture-handler/releases) | + ## Installation and Usage -Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/react-native-gesture-handler Releases](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package. +Find the matching version information in the release address of a third-party library: [@react-native-ohos/react-native-gesture-handler Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-gesture-handler/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package. Go to the project directory and execute the following instruction: @@ -26,13 +33,13 @@ Go to the project directory and execute the following instruction: #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-gesture-handler +npm install @react-native-ohos/react-native-gesture-handler ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-gesture-handler +yarn add @react-native-ohos/react-native-gesture-handler ``` @@ -103,11 +110,16 @@ export default function App() { ## Use Codegen +Version >= @react-native-ohos/react-native-gesture-handler@2.14.18, compatible with codegen-lib for generating bridge code. + this repository release package that end with rc.x has been adapted to `Codegen` , generate the bridge code of the third-party library by using the `Codegen`. For details, see[ Codegen Usage Guide](/en/codegen.md). ## Link -Currently, HarmonyOS does not support AutoLink. Therefore, you need to manually configure the linking. +Version >= @react-native-ohos/react-native-gesture-handler@2.14.18 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks. +Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md + +Currently, Version <= @react-native-oh-tpl/react-native-gesture-handler@2.14.17@deprecated does not support AutoLink. Therefore, you need to manually configure the linking. Open the `harmony` directory of the HarmonyOS project in DevEco Studio. @@ -141,7 +153,7 @@ Open `entry/oh-package.json5` file and add the following dependencies: "dependencies": { "@rnoh/react-native-openharmony": "file:../react_native_openharmony", - "@react-native-oh-tpl/react-native-gesture-handler": "file:../../node_modules/@react-native-oh-tpl/react-native-gesture-handler/harmony/gesture_handler.har" + "@react-native-ohos/react-native-gesture-handler": "file:../../node_modules/@react-native-ohos/react-native-gesture-handler/harmony/gesture_handler.har" } ``` @@ -180,7 +192,7 @@ add_subdirectory("${RNOH_CPP_DIR}" ./rn) # RNOH_BEGIN: manual_package_linking_1 add_subdirectory("../../../../sample_package/src/main/cpp" ./sample-package) -+ add_subdirectory("${OH_MODULES}/@react-native-oh-tpl/react-native-gesture-handler/src/main/cpp" ./gesture-handler) ++ add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-gesture-handler/src/main/cpp" ./gesture-handler) # RNOH_END: manual_package_linking_1 file(GLOB GENERATED_CPP_FILES "./generated/*.cpp") @@ -220,7 +232,7 @@ std::vector> PackageProvider::getPackages(Package::Cont Open the`entry/src/main/ets/RNPackagesFactory.ts ` file and add the following code: ```diff -+ import GestureHandlerPackage from '@react-native-oh-tpl/react-native-gesture-handler'; ++ import GestureHandlerPackage from '@react-native-ohos/react-native-gesture-handler'; export function createRNPackages(ctx: RNPackageContext): RNPackage[] { return [ @@ -249,7 +261,7 @@ Then build and run the code. To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone. -Check the release version information in the release address of the third-party library: [@react-native-oh-tpl/react-native-gesture-handler Releases](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler/releases) +Check the release version information in the release address of the third-party library: [@react-native-ohos/react-native-gesture-handler Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-gesture-handler/releases) > [!TIP] [Official Documentation](https://docs.swmansion.com/react-native-gesture-handler/docs/) diff --git a/en/react-native-linear-gradient.md b/en/react-native-linear-gradient.md index 7e66d3a06..ed4b96276 100644 --- a/en/react-native-linear-gradient.md +++ b/en/react-native-linear-gradient.md @@ -90,7 +90,7 @@ var styles = StyleSheet.create({ ## 2. Manual Link -Version >= @react-native-ohos/react-native-linear-gradient@3.0.2 now supports Autolink without requiring manual configuration. +Version >= @react-native-ohos/react-native-linear-gradient@3.0.2 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks. Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Currently, Version < @react-native-ohos/react-native-linear-gradient@3.0.2,Version <= @react-native-oh-tpl/react-native-linear-gradient@3.0.0-0.5.0@deprecated does not support AutoLink. Therefore, you need to manually configure the linking. diff --git a/en/react-native-localize.md b/en/react-native-localize.md index 2c05a692c..8bf63964e 100644 --- a/en/react-native-localize.md +++ b/en/react-native-localize.md @@ -127,7 +127,7 @@ this repository has been adapted to `Codegen`, generate the bridge code of the t ## Link -Version > @react-native-ohos/react-native-localize@3.1.0 now supports Autolink without requiring manual configuration. +Version > @react-native-ohos/react-native-localize@3.1.0 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks. Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Currently, Version <= @react-native-oh-tpl/react-native-localize@3.1.0-0.0.1@deprecated does not support AutoLink. Therefore, you need to manually configure the linking. diff --git a/en/react-native-orientation-locker.md b/en/react-native-orientation-locker.md index 613581bbb..997cc5adc 100644 --- a/en/react-native-orientation-locker.md +++ b/en/react-native-orientation-locker.md @@ -218,7 +218,7 @@ const styles = StyleSheet.create({ ## Link -Version > @react-native-ohos/react-native-orientation-locker@1.7.0 now supports Autolink without requiring manual configuration. +Version > @react-native-ohos/react-native-orientation-locker@1.7.0 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks. Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Currently, Version <= @react-native-oh-tpl/react-native-orientation-locker@1.7.0-0.0.7@deprecated does not support AutoLink. Therefore, you need to manually configure the linking. diff --git a/en/react-native-sound.md b/en/react-native-sound.md index 33caf7e5e..2d77987ec 100644 --- a/en/react-native-sound.md +++ b/en/react-native-sound.md @@ -164,7 +164,7 @@ export default SoundDemo; ## Link -Version >= @react-native-ohos/react-native-sound@0.11.3 now supports Autolink without requiring manual configuration. +Version >= @react-native-ohos/react-native-sound@0.11.3 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks. Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Currently, Version <= @react-native-oh-tpl/react-native-sound@0.11.2-0.0.13@deprecated does not support AutoLink. Therefore, you need to manually configure the linking. diff --git a/en/react-native-webview.md b/en/react-native-webview.md index 7218cc027..9ac97546f 100644 --- a/en/react-native-webview.md +++ b/en/react-native-webview.md @@ -61,7 +61,7 @@ export default function WebViewDemo() { ## Link -Version > @react-native-ohos/react-native-webview@13.10.4 now supports Autolink without requiring manual configuration. +Version > @react-native-ohos/react-native-webview@13.10.4 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks. Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md The 0.72 branch supports full Autolinking functionality starting from the RNOH 0.72.94 version (corresponding to the @react-native-oh/react-native-harmony-cli version 0.0.40). diff --git a/zh-cn/lottie-react-native.md b/zh-cn/lottie-react-native.md index fb343a016..273c7fbd3 100644 --- a/zh-cn/lottie-react-native.md +++ b/zh-cn/lottie-react-native.md @@ -71,7 +71,7 @@ export default App; ## Link -Version >= @react-native-ohos/lottie-react-native@6.4.2,已支持 Autolink,无需手动配置。 +Version >= @react-native-ohos/lottie-react-native@6.4.2,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md 0.72分支从RNOH 0.72.94版本(对应 @react-native-oh/react-native-harmony-cli 版本是0.0.40)开始可使用完整的 Autolinking 功能。 diff --git a/zh-cn/react-native-async-storage-async-storage.md b/zh-cn/react-native-async-storage-async-storage.md index 0cd956c51..dd60ed750 100644 --- a/zh-cn/react-native-async-storage-async-storage.md +++ b/zh-cn/react-native-async-storage-async-storage.md @@ -116,7 +116,7 @@ export default function App() { ## Link -Version >= @react-native-ohos/async-storage@1.21.1,已支持 Autolink,无需手动配置。 +Version >= @react-native-ohos/async-storage@1.21.1,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Version <= @react-native-oh-tpl/async-storage@1.21.0-0.2.2@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。 diff --git a/zh-cn/react-native-blob-util.md b/zh-cn/react-native-blob-util.md index 944b47f66..020e316a9 100644 --- a/zh-cn/react-native-blob-util.md +++ b/zh-cn/react-native-blob-util.md @@ -403,7 +403,7 @@ Version >= @react-native-ohos/react-native-blob-util@0.19.8,已适配codegen-l ## Link -Version >= @react-native-ohos/react-native-blob-util@0.19.8,已支持 Autolink,无需手动配置。 +Version >= @react-native-ohos/react-native-blob-util@0.19.8,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Version <= @react-native-oh-tpl/react-native-blob-util@0.19.7@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。 diff --git a/zh-cn/react-native-cameraroll.md b/zh-cn/react-native-cameraroll.md index 19a5525e6..06f18ac90 100644 --- a/zh-cn/react-native-cameraroll.md +++ b/zh-cn/react-native-cameraroll.md @@ -77,7 +77,7 @@ Version >= @react-native-ohos/camera-roll@7.8.4,已适配codegen-lib生成桥 ## Link -Version >= @react-native-ohos/camera-roll@7.8.4,已支持 Autolink,无需手动配置。 +Version >= @react-native-ohos/camera-roll@7.8.4,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Version <= @react-native-oh-tpl/camera-roll@7.8.3-0.1.5@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。 diff --git a/zh-cn/react-native-community-netinfo.md b/zh-cn/react-native-community-netinfo.md index a921e2bbd..5e2ed2796 100644 --- a/zh-cn/react-native-community-netinfo.md +++ b/zh-cn/react-native-community-netinfo.md @@ -80,7 +80,7 @@ export default App; ## Link -Version >= @react-native-ohos/netinfo@11.1.1,已支持 Autolink,无需手动配置。 +Version >= @react-native-ohos/netinfo@11.1.1,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Version <= @react-native-oh-tpl/netinfo@11.1.0-0.0.8@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。 diff --git a/zh-cn/react-native-fs.md b/zh-cn/react-native-fs.md index eaf15c40c..ebdc59b20 100644 --- a/zh-cn/react-native-fs.md +++ b/zh-cn/react-native-fs.md @@ -117,7 +117,7 @@ export default App; ``` ## 2. Manual Link -Version >= @react-native-ohos/react-native-fs@2.20.2,已支持 Autolink,无需手动配置。 +Version >= @react-native-ohos/react-native-fs@2.20.2,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Version < @react-native-ohos/react-native-fs@2.20.2,Version <= @react-native-oh-tpl/react-native-fs@2.20.0-0.1.14@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。 diff --git a/zh-cn/react-native-gesture-handler.md b/zh-cn/react-native-gesture-handler.md index 4f7cc673c..3a10f2ee1 100644 --- a/zh-cn/react-native-gesture-handler.md +++ b/zh-cn/react-native-gesture-handler.md @@ -14,9 +14,15 @@ > [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler) +该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-gesture-handler`,具体版本所属关系如下: +| Version | Package Name | Repository | Release | +| ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | +| <= 2.14.17@deprecated | @react-native-oh-tpl/react-native-gesture-handler | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-gesture-handler) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-gesture-handler/releases) | +| >= 2.14.18 | @react-native-ohos/react-native-gesture-handler | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-gesture-handler) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-gesture-handler/releases) | + ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-gesture-handler Releases](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-ohos/react-native-gesture-handler Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-gesture-handler/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: @@ -25,13 +31,13 @@ #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-gesture-handler +npm install @react-native-ohos/react-native-gesture-handler ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-gesture-handler +yarn add @react-native-ohos/react-native-gesture-handler ``` @@ -102,11 +108,16 @@ export default function App() { ## 使用Codegen +Version > @react-native-ohos/react-native-gesture-handler@2.14.18,已适配codegen-lib生成桥接代码。 + 本库未带rc.x的版本号是已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -目前 HarmonyOS 暂不支持 AutoLink,所以 Link 步骤需要手动配置。 +Version >= @react-native-ohos/react-native-gesture-handler@2.14.18,已支持 Autolink,无需手动配置,目前只支持72框架。 +Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md + +Version <= @react-native-oh-tpl/react-native-gesture-handler@2.14.17@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。 首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony` @@ -143,7 +154,7 @@ export default function App() { "dependencies": { "@rnoh/react-native-openharmony": "file:../react_native_openharmony", - "@react-native-oh-tpl/react-native-gesture-handler": "file:../../node_modules/@react-native-oh-tpl/react-native-gesture-handler/harmony/gesture_handler.har" + "@react-native-ohos/react-native-gesture-handler": "file:../../node_modules/@react-native-ohos/react-native-gesture-handler/harmony/gesture_handler.har" } ``` @@ -182,7 +193,7 @@ add_subdirectory("${RNOH_CPP_DIR}" ./rn) # RNOH_BEGIN: manual_package_linking_1 add_subdirectory("../../../../sample_package/src/main/cpp" ./sample-package) -+ add_subdirectory("${OH_MODULES}/@react-native-oh-tpl/react-native-gesture-handler/src/main/cpp" ./gesture-handler) ++ add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-gesture-handler/src/main/cpp" ./gesture-handler) # RNOH_END: manual_package_linking_1 file(GLOB GENERATED_CPP_FILES "./generated/*.cpp") @@ -222,7 +233,7 @@ std::vector> PackageProvider::getPackages(Package::Cont 打开 `entry/src/main/ets/RNPackagesFactory.ts`,添加: ```diff -+ import GestureHandlerPackage from '@react-native-oh-tpl/react-native-gesture-handler'; ++ import GestureHandlerPackage from '@react-native-ohos/react-native-gesture-handler'; export function createRNPackages(ctx: RNPackageContext): RNPackage[] { return [ @@ -251,7 +262,7 @@ ohpm install 要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 -请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-oh-tpl/react-native-gesture-handler Releases](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler/releases) +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/react-native-gesture-handler Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-gesture-handler/releases) > [!TIP] [官方文档](https://docs.swmansion.com/react-native-gesture-handler/docs/) diff --git a/zh-cn/react-native-linear-gradient.md b/zh-cn/react-native-linear-gradient.md index 487762993..81a8c548d 100644 --- a/zh-cn/react-native-linear-gradient.md +++ b/zh-cn/react-native-linear-gradient.md @@ -90,7 +90,7 @@ var styles = StyleSheet.create({ ## 2. Manual Link -Version >= @react-native-ohos/react-native-linear-gradient@3.0.2,已支持 Autolink,无需手动配置。 +Version >= @react-native-ohos/react-native-linear-gradient@3.0.2,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Version < @react-native-ohos/react-native-linear-gradient@3.0.2,Version <= @react-native-oh-tpl/react-native-linear-gradient@3.0.0-0.5.0@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。 diff --git a/zh-cn/react-native-localize.md b/zh-cn/react-native-localize.md index 135f81bfb..db568316e 100644 --- a/zh-cn/react-native-localize.md +++ b/zh-cn/react-native-localize.md @@ -126,7 +126,7 @@ Version > @react-native-ohos/react-native-localize@3.1.0,已适配codegen-lib ## Link -Version > @react-native-ohos/react-native-localize@3.1.0,已支持 Autolink,无需手动配置。 +Version > @react-native-ohos/react-native-localize@3.1.0,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Version <= @react-native-oh-tpl/react-native-localize@3.1.0-0.0.1@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。 diff --git a/zh-cn/react-native-orientation-locker.md b/zh-cn/react-native-orientation-locker.md index fb9843b9c..347f1a4a5 100644 --- a/zh-cn/react-native-orientation-locker.md +++ b/zh-cn/react-native-orientation-locker.md @@ -220,7 +220,7 @@ const styles = StyleSheet.create({ ## Link -Version > @react-native-ohos/react-native-orientation-locker@1.7.0,已支持 Autolink,无需手动配置。 +Version > @react-native-ohos/react-native-orientation-locker@1.7.0,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Version <= @react-native-oh-tpl/react-native-orientation-locker@1.7.0-0.0.7@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。 diff --git a/zh-cn/react-native-sound.md b/zh-cn/react-native-sound.md index 0d587be5c..f05980f6c 100644 --- a/zh-cn/react-native-sound.md +++ b/zh-cn/react-native-sound.md @@ -162,7 +162,7 @@ export default SoundDemo; ## Link -Version >= @react-native-ohos/react-native-sound@0.11.3,已支持 Autolink,无需手动配置。 +Version >= @react-native-ohos/react-native-sound@0.11.3,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md Version <= @react-native-oh-tpl/react-native-sound@0.11.2-0.0.13@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。 diff --git a/zh-cn/react-native-webview.md b/zh-cn/react-native-webview.md index ecbfcbf23..cc09ce736 100644 --- a/zh-cn/react-native-webview.md +++ b/zh-cn/react-native-webview.md @@ -60,7 +60,7 @@ export default function WebViewDemo() { ## Link -Version > @react-native-ohos/react-native-webview@13.10.4,已支持 Autolink,无需手动配置。 +Version > @react-native-ohos/react-native-webview@13.10.4,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md 0.72分支从RNOH 0.72.94版本(对应 @react-native-oh/react-native-harmony-cli 版本是0.0.40)开始可使用完整的 Autolinking 功能。 -- Gitee From ead143b77d56c791ebd305148df1615d0a640077 Mon Sep 17 00:00:00 2001 From: chenyihao9 <286884497@qq.com> Date: Wed, 29 Oct 2025 11:32:15 +0800 Subject: [PATCH 2/4] =?UTF-8?q?docs:=20[Issues:=20#ICXJ4Z]=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E9=9C=80=E6=B1=82=EF=BC=8C=E4=B8=AD=E8=8B=B1=E6=96=87=E5=AF=B9?= =?UTF-8?q?=E6=AF=94=E7=BC=BA=E5=B0=91=E7=A9=BA=E8=A1=8C=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/react-native-blob-util.md | 1 + zh-cn/react-native-gesture-handler.md | 1 + zh-cn/react-native-localize.md | 1 + 3 files changed, 3 insertions(+) diff --git a/zh-cn/react-native-blob-util.md b/zh-cn/react-native-blob-util.md index 020e316a9..5e2a83fb5 100644 --- a/zh-cn/react-native-blob-util.md +++ b/zh-cn/react-native-blob-util.md @@ -397,6 +397,7 @@ const styles = StyleSheet.create({ ``` ## 使用 Codegen + Version >= @react-native-ohos/react-native-blob-util@0.19.8,已适配codegen-lib生成桥接代码。 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 diff --git a/zh-cn/react-native-gesture-handler.md b/zh-cn/react-native-gesture-handler.md index 3a10f2ee1..65cfb7ca0 100644 --- a/zh-cn/react-native-gesture-handler.md +++ b/zh-cn/react-native-gesture-handler.md @@ -15,6 +15,7 @@ > [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler) 该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-gesture-handler`,具体版本所属关系如下: + | Version | Package Name | Repository | Release | | ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | | <= 2.14.17@deprecated | @react-native-oh-tpl/react-native-gesture-handler | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-gesture-handler) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-gesture-handler/releases) | diff --git a/zh-cn/react-native-localize.md b/zh-cn/react-native-localize.md index db568316e..476100a01 100644 --- a/zh-cn/react-native-localize.md +++ b/zh-cn/react-native-localize.md @@ -120,6 +120,7 @@ export default LocalizeDemo; ``` ## 使用 Codegen + Version > @react-native-ohos/react-native-localize@3.1.0,已适配codegen-lib生成桥接代码。 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 -- Gitee From 6e2e2c8692097579414058dd1ff6544a7e1bf72e Mon Sep 17 00:00:00 2001 From: chenyihao9 <286884497@qq.com> Date: Thu, 30 Oct 2025 10:14:57 +0800 Subject: [PATCH 3/4] =?UTF-8?q?docs:=20[Issues:=20#ICXJ4Z]=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E9=9C=80=E6=B1=82=EF=BC=8C=E6=97=A9=E6=9C=9F=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E7=9A=84=E5=BA=93gitee=E6=94=B9=E4=B8=BAgitcode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-fs.md | 8 +++++--- en/react-native-linear-gradient.md | 10 +++++----- zh-cn/react-native-fs.md | 8 +++++--- zh-cn/react-native-linear-gradient.md | 10 +++++----- 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/en/react-native-fs.md b/en/react-native-fs.md index be466d830..65300ab5b 100644 --- a/en/react-native-fs.md +++ b/en/react-native-fs.md @@ -4,12 +4,14 @@

react-native-fs

-This project is based on [react-native-fs@2.20.0](https://github.com/itinance/react-native-fs/tree/v2.20.0)。 +> [!TIP] [GitHub address](https://github.com/react-native-oh-library/react-native-fs) + +This third-party library has been migrated to Gitcode and is now available for direct download from npm, the new package name is: `@react-native-ohos/react-native-fs`, After introducing the new version of the third-party library, The version correspondence details are as follows: | Version | Package Name | Repository | Release | | --------------------------- | ------------------------------------ | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | | <= 2.20.0-0.1.14@deprecated | @react-native-oh-tpl/react-native-fs | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-fs) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-fs/releases) | -| >= 2.20.1 | @react-native-ohos/react-native-fs | [Gitee](https://gitcode.com/openharmony-sig/rntpc_react-native-fs) | [Gitee Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fs/releases) | +| >= 2.20.1 | @react-native-ohos/react-native-fs | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-fs) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fs/releases) | ## 1. Installation and Usage @@ -260,7 +262,7 @@ Then build and run the code. ### 3.1 Compatibility -Check the release version information in the release address of the third-party library:[@react-native-ohos/react-native-fs Releases](https://gitee.com/openharmony-sig/rntpc_react-native-fs/releases) +Check the release version information in the release address of the third-party library:[@react-native-ohos/react-native-fs Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fs/releases) ## 4. Static Methods diff --git a/en/react-native-linear-gradient.md b/en/react-native-linear-gradient.md index ed4b96276..74f1d1068 100644 --- a/en/react-native-linear-gradient.md +++ b/en/react-native-linear-gradient.md @@ -4,14 +4,14 @@

react-native-linear-gradient

-This project is based on [react-native-linear-gradient@3.0.0-alpha.1](https://github.com/react-native-linear-gradient/react-native-linear-gradient)。 +> [!TIP] [GitHub address](https://github.com/react-native-oh-library/react-native-linear-gradient) -This third-party library has been migrated to Gitee and is now available for direct download from npm, the new package name is: `@react-native-ohos/react-native-linear-gradient`, The version correspondence details are as follows: +This third-party library has been migrated to Gitcode and is now available for direct download from npm, the new package name is: `@react-native-ohos/react-native-linear-gradient`, After introducing the new version of the third-party library, The version correspondence details are as follows: | Version | Package Name | Repository | Release | | ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- | | <= 3.0.0-0.5.0@deprecated | @react-native-oh-tpl/react-native-linear-gradient | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-linear-gradient) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-linear-gradient/releases) | -| > 3.0.0 | @react-native-ohos/react-native-linear-gradient | [Gitee](https://gitee.com/openharmony-sig/rntpc_react-native-linear-gradient) | [Gitee Releases](https://gitee.com/openharmony-sig/rntpc_react-native-linear-gradient/releases) | +| > 3.0.0 | @react-native-ohos/react-native-linear-gradient | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-linear-gradient) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-linear-gradient/releases) | ## 1. Installation and Usage @@ -197,7 +197,7 @@ Then build and run the code. ## 3.1 Compatibility -Check the release version information in the release address of the third-party library: [@react-native-ohos/react-native-linear-gradient Releases](https://gitee.com/openharmony-sig/rntpc_react-native-linear-gradient/releases) +Check the release version information in the release address of the third-party library: [@react-native-ohos/react-native-linear-gradient Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-linear-gradient/releases) ## Properties @@ -221,4 +221,4 @@ Check the release version information in the release address of the third-party ## 6. License -This project is licensed under [The MIT License (MIT)](https://gitee.com/openharmony-sig/rntpc_react-native-linear-gradient/blob/master/LICENSE). +This project is licensed under [The MIT License (MIT)](https://gitcode.com/openharmony-sig/rntpc_react-native-linear-gradient/blob/master/LICENSE). diff --git a/zh-cn/react-native-fs.md b/zh-cn/react-native-fs.md index ebdc59b20..4de588f77 100644 --- a/zh-cn/react-native-fs.md +++ b/zh-cn/react-native-fs.md @@ -4,12 +4,14 @@

react-native-fs

-本项目基于 [react-native-fs@2.20.0](https://github.com/itinance/react-native-fs/tree/v2.20.0) 开发。 +> [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-fs) + +该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-fs`,具体版本所属关系如下: | Version | Package Name | Repository | Release | | --------------------------- | ------------------------------------ | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | | <= 2.20.0-0.1.14@deprecated | @react-native-oh-tpl/react-native-fs | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-fs) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-fs/releases) | -| >= 2.20.1 | @react-native-ohos/react-native-fs | [Gitee](https://gitcode.com/openharmony-sig/rntpc_react-native-fs) | [Gitee Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fs/releases) | +| >= 2.20.1 | @react-native-ohos/react-native-fs | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-fs) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fs/releases) | ## 1. 安装与使用 @@ -261,7 +263,7 @@ ohpm install ### 3.1. 兼容性 -请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/react-native-fs Releases](https://gitee.com/openharmony-sig/rntpc_react-native-fs/releases) +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/react-native-fs Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fs/releases) ## 4. 静态方法 diff --git a/zh-cn/react-native-linear-gradient.md b/zh-cn/react-native-linear-gradient.md index 81a8c548d..f3863e8fe 100644 --- a/zh-cn/react-native-linear-gradient.md +++ b/zh-cn/react-native-linear-gradient.md @@ -4,14 +4,14 @@

react-native-linear-gradient

-本项目基于 [react-native-linear-gradient@3.0.0-alpha.1](https://github.com/react-native-linear-gradient/react-native-linear-gradient) 开发。 +> [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-linear-gradient) -该第三方库的仓库已迁移至 Gitee,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-linear-gradient`,具体版本所属关系如下: +该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-linear-gradient`,具体版本所属关系如下: | Version | Package Name | Repository | Release | | ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- | | <= 3.0.0-0.5.0@deprecated | @react-native-oh-tpl/react-native-linear-gradient | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-linear-gradient) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-linear-gradient/releases) | -| > 3.0.0 | @react-native-ohos/react-native-linear-gradient | [Gitee](https://gitee.com/openharmony-sig/rntpc_react-native-linear-gradient) | [Gitee Releases](https://gitee.com/openharmony-sig/rntpc_react-native-linear-gradient/releases) | +| > 3.0.0 | @react-native-ohos/react-native-linear-gradient | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-linear-gradient) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-linear-gradient/releases) | ## 1. 安装与使用 @@ -197,7 +197,7 @@ ohpm install ### 3.1 兼容性 -请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/react-native-linear-gradient Releases](https://gitee.com/openharmony-sig/rntpc_react-native-linear-gradient/releases) +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/react-native-linear-gradient Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-linear-gradient/releases) ## 4. 属性 @@ -221,4 +221,4 @@ ohpm install ## 6. 开源协议 -本项目基于 [The MIT License (MIT)](https://gitee.com/openharmony-sig/rntpc_react-native-linear-gradient/blob/master/LICENSE),请自由地享受和参与开源。 +本项目基于 [The MIT License (MIT)](https://gitcode.com/openharmony-sig/rntpc_react-native-linear-gradient/blob/master/LICENSE),请自由地享受和参与开源。 -- Gitee From ba26995f567e1f9ee990d50ea45714a80d63a1cf Mon Sep 17 00:00:00 2001 From: chenyihao9 <286884497@qq.com> Date: Fri, 31 Oct 2025 10:47:15 +0800 Subject: [PATCH 4/4] =?UTF-8?q?docs:=20[Issues:=20#ICXJ4Z]=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E9=9C=80=E6=B1=82=EF=BC=8C=E6=96=87=E6=A1=A3=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-async-storage-async-storage.md | 2 +- zh-cn/react-native-async-storage-async-storage.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/en/react-native-async-storage-async-storage.md b/en/react-native-async-storage-async-storage.md index 199a405aa..3c0529053 100644 --- a/en/react-native-async-storage-async-storage.md +++ b/en/react-native-async-storage-async-storage.md @@ -259,7 +259,7 @@ Then build and run the code. To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone. -Check the release version information in the release address of the third-party library: [@react-native-ohos/async-storage Releases](https://gitcode.com/openharmony-sig/rntpc_async-storage/release) +Check the release version information in the release address of the third-party library: [@react-native-ohos/async-storage Releases](https://gitcode.com/openharmony-sig/rntpc_async-storage/releases) ## APIs diff --git a/zh-cn/react-native-async-storage-async-storage.md b/zh-cn/react-native-async-storage-async-storage.md index dd60ed750..8e6ad4ce5 100644 --- a/zh-cn/react-native-async-storage-async-storage.md +++ b/zh-cn/react-native-async-storage-async-storage.md @@ -24,7 +24,7 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-ohos/async-storage Releases](https://gitcode.com/openharmony-sig/rntpc_async-storage/release) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-ohos/async-storage Releases](https://gitcode.com/openharmony-sig/rntpc_async-storage/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: @@ -259,7 +259,7 @@ ohpm install 要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 -请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/async-storage Releases](https://gitcode.com/openharmony-sig/rntpc_async-storage/release) +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/async-storage Releases](https://gitcode.com/openharmony-sig/rntpc_async-storage/releases) ## API -- Gitee