diff --git a/en/react-native-community-progress-view-capi.md b/en/react-native-community-progress-view-capi.md index 08ce96b25bf327bdf09bfee396b89ff803d7f7b4..24036c470d9f1b1c1329db7f9c73f9ad41a9ddc3 100644 --- a/en/react-native-community-progress-view-capi.md +++ b/en/react-native-community-progress-view-capi.md @@ -65,10 +65,17 @@ export default function ProgressViewExample() { ## Link -Version >= @react-native-ohos/progress-view@1.4.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 +| | Is supported autolink | Supported RN Version | +|--------------------------------------|-----------------------|----------------------| +| ~1.5.0 | No | 0.77 | +| ~1.4.3 | Yes | 0.72 | +| <= 1.4.2-0.0.8@deprecated | No | 0.72 | -This step provides guidance for manually configuring native dependencies. +Using AutoLink need to be configured according to this document, Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md + +If the version you use supports Autolink and the project has been connected to Autolink, skip the ManualLink configuration. +
+ ManualLink: this step is a guide to manually configure native dependencies. Open the `harmony` directory of the HarmonyOS project in DevEco Studio. @@ -188,8 +195,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/zh-cn/react-native-community-progress-view-capi.md b/zh-cn/react-native-community-progress-view-capi.md index 18632dfca126fcbe0635f19aed5bbe30ea0f884e..972e5ed0625a78f8c5e4a70ea35a405b11d1a69c 100644 --- a/zh-cn/react-native-community-progress-view-capi.md +++ b/zh-cn/react-native-community-progress-view-capi.md @@ -64,11 +64,19 @@ export default function ProgressViewExample() { ## Link -Version >= @react-native-ohos/progress-view@1.4.3,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~1.5.0 | No | 0.77 | +| ~1.4.3 | Yes | 0.72 | +| <= 1.4.2-0.0.8@deprecated | No | 0.72 | -此步骤为手动配置原生依赖项的指导。 +使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md -首先需要使用 DevEco Studio 打开项目里的HarmonyOS工程 `harmony` +如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。 +
+ ManualLink: 此步骤为手动配置原生依赖项的指导 + +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。 ### 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段 @@ -192,7 +200,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { } ``` -### 5.运行 +
+ +## 运行 点击右上角的 `sync` 按钮