diff --git a/en/bam-tech-react-native-image-resizer.md b/en/bam-tech-react-native-image-resizer.md index 6299ae1deb477cff861f885e71948fdc0c05e7e8..00650c989b4506ed1cc7601a43a82c9a85227e27 100644 --- a/en/bam-tech-react-native-image-resizer.md +++ b/en/bam-tech-react-native-image-resizer.md @@ -278,16 +278,21 @@ export default ImageResizerDemo; ## Use Codegen -Version >= @react-native-ohos/react-native-image-resizer@3.0.10, compatible with codegen-lib for generating bridge code. - This library has been adapted for `Codegen`. Before using it, you need to proactively generate the bridge code for the third-party library. For details, please refer to the [Codegen Usage Documentation](/en/codegen.md). ## Link -Version >= @react-native-ohos/react-native-image-resizer@3.0.10 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 | +|--------------------------------------|-----------------------|----------------------| +| ~3.1.0 | No | 0.77 | +| ~3.0.10 | Yes | 0.72 | +| <= 3.0.9-0.0.4@deprecated | No | 0.72 | + +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. -This step provides guidance for manually configuring native dependencies. +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. First, use DevEco Studio to open the HarmonyOS project `harmony` in the project directory. @@ -405,8 +410,9 @@ std::vector> PackageProvider::getPackages(Package::Cont }; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/baronha-ting.md b/en/baronha-ting.md index 26b7e42ccfcbd6c455a08676824691626f83dd51..ee19f3f4de083738006735da77b9f71a9013a4be 100644 --- a/en/baronha-ting.md +++ b/en/baronha-ting.md @@ -81,17 +81,23 @@ export default App; ## Using Codegen -Version >= @react-native-ohos/ting@1.2.3, compatible with codegen-lib for generating bridge code. - -This library has been adapted for `Codegen`. Before use, you need to actively generate the third-party library bridging code. Please refer to the [Codegen Usage Documentation](/en/codegen.md) for details. +This library has been adapted for `Codegen`. Before using it, you need to proactively generate the bridge code for the third-party library. For details, please refer to the [Codegen Usage Documentation](/en/codegen.md). ## Link -Version >= @react-native-ohos/ting@1.2.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.3.0 | No | 0.77 | +| ~1.2.3 | Yes | 0.72 | +| <= 1.2.2-0.0.3@deprecated | No | 0.72 | + +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. -This step provides guidance for manually configuring native dependencies. +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. -First, use DevEco Studio to open the HarmonyOS project `harmony` within your project. +First, use DevEco Studio to open the HarmonyOS project `harmony` in the project directory. ### 1. Add the overrides field to the root `oh-package.json5` @@ -201,8 +207,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. Run +## Running Click the `sync` button in the top right corner. diff --git a/en/jpush-react-native.md b/en/jpush-react-native.md index 9f440ddb654513132630a27c8fa709979eebdd8a..9c156c37d7cfd95d906d419d574e7363cb9f052a 100644 --- a/en/jpush-react-native.md +++ b/en/jpush-react-native.md @@ -87,17 +87,23 @@ export default App; ``` ## Use Codegen -Version >= @react-native-ohos/jpush-react-native@3.1.2, compatible with codegen-lib for generating bridge code. - -If this repository 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). +This library has been adapted for `Codegen`. Before using it, you need to proactively generate the bridge code for the third-party library. For details, please refer to the [Codegen Usage Documentation](/en/codegen.md). ## Link -Version >= @react-native-ohos/jpush-react-native@3.1.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 +| | Is supported autolink | Supported RN Version | +|--------------------------------------|-----------------------|----------------------| +| ~3.2.0 | No | 0.77 | +| ~3.1.2 | Yes | 0.72 | +| <= 3.1.1-0.0.5@deprecated | No | 0.72 | + +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. -This step provides guidance for manually configuring native dependencies. +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. +First, use DevEco Studio to open the HarmonyOS project `harmony` in the project directory. ### 1. Adding the overrides Field to oh-package.json5 File in the Root Directory of the Project @@ -204,8 +210,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/klarna-platform-colors.md b/en/klarna-platform-colors.md index e669330901446a3d341108d9ffdd19588028f994..d267f40e5269078a33026d4a7f40451180f654b2 100644 --- a/en/klarna-platform-colors.md +++ b/en/klarna-platform-colors.md @@ -183,18 +183,23 @@ const styles = StyleSheet.create({ ## Use Codegen -Version >= @react-native-ohos/platform-colors@0.4.1, compatible with codegen-lib for generating bridge code. - -If this repository 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). +This library has been adapted for `Codegen`. Before using it, you need to proactively generate the bridge code for the third-party library. For details, please refer to the [Codegen Usage Documentation](/en/codegen.md). ## Link -Version >= @react-native-ohos/platform-colors@0.4.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 +| | Is supported autolink | Supported RN Version | +|--------------------------------------|-----------------------|----------------------| +| ~0.5.0 | No | 0.77 | +| ~0.4.1 | Yes | 0.72 | +| <= 0.4.0-0.0.1@deprecated | No | 0.72 | + +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. -This step provides guidance for manually configuring native dependencies. +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. +First, use DevEco Studio to open the HarmonyOS project `harmony` in the project directory. ### 1. Adding the overrides Field to oh-package.json5 File in the Root Directory of the Project @@ -314,8 +319,9 @@ std::vector> PackageProvider::getPackages(Package::Cont }; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/op-engineering-op-sqlite.md b/en/op-engineering-op-sqlite.md index dcb9faee045a5ce8394ff59fd31b5af8a9c486eb..eecc8eadd79440c1a8867af7adc9c3197227e429 100644 --- a/en/op-engineering-op-sqlite.md +++ b/en/op-engineering-op-sqlite.md @@ -68,9 +68,10 @@ import { import { open, - type DB + type DB, + Scalar, + HARMONY_DATABASE_PATH } from '@op-engineering/op-sqlite'; -import { HARMONY_DATABASE_PATH } from '@react-native-ohos/op-sqlite'; export default function OpSqliteExample() { @@ -105,12 +106,19 @@ For details, see [Source Repository Document Address](https://ospfranco.notion.s ## Link -Version >= @react-native-ohos/op-sqlite@8.0.3 now supports Autolink without requiring manual configuration(The content that still needs to be manually configured has been marked in the corresponding title), 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 | +|--------------------------------------|-----------------------|----------------------| +| ~14.0.1 | No | 0.77 | +| ~8.0.3 | Yes | 0.72 | +| <= 8.0.2-0.0.3@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. -Open the `harmony` directory of the HarmonyOS project in DevEco Studio. +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. + +First, use DevEco Studio to open the HarmonyOS project `harmony` in the project directory. ### 1. Adding the overrides Field to oh-package.json5 File in the Root Directory of the Project @@ -225,7 +233,13 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` -### 5. Create a `package.json` file in the root directory of your IDE project and configure the parameters.(This module always requires manual configuration) +
+ +## Necessary configuration items + +> [!TIP] The content of this module cannot be automatically generated by autolink and must always be manually configured. + +### 1. Create a `package.json` file in the root directory of your IDE project and configure the parameters.(This module always requires manual configuration) ```json { @@ -238,7 +252,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { } ``` -### 6. Introducing opSqlitePlugin to ArkTS(This module always requires manual configuration) +### 2. Introducing opSqlitePlugin to ArkTS(This module always requires manual configuration) Open the `entry/hvigorfile.ts` file and add the following code: @@ -256,7 +270,7 @@ export default { } ``` -### 7. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-amap3d.md b/en/react-native-amap3d.md index 7aff09160aa0ca4dbe5d407ad7a515e6775482ea..2a67b4234102de667f889942fdd3992138b1a861 100644 --- a/en/react-native-amap3d.md +++ b/en/react-native-amap3d.md @@ -13,7 +13,7 @@

-> [!TIP] [Github address](https://github.com/qiuxiang/react-native-amap3d) +> [!TIP] [Github address](https://github.com/react-native-oh-library/react-native-amap3d) ## Installation and Usage @@ -167,11 +167,19 @@ export default AMapDemo; ## Link -Version >= @react-native-ohos/react-native-amap3d@3.2.6, 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 | +|--------------------------------------|-----------------------|----------------------| +| ~3.3.0 | No | 0.77 | +| ~3.2.6 | Yes | 0.72 | +| <= 3.2.5@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. -Open the `harmony` directory of the HarmonyOS project in DevEco Studio. +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. + +First, use DevEco Studio to open the HarmonyOS project `harmony` in the project directory. ### 1. Adding the overrides Field to oh-package.json5 File in the Root Directory of the Project @@ -367,8 +375,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 6. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-background-fetch.md b/en/react-native-background-fetch.md index 1dabc129eeb6bfbae524b9d49ca73f8e5172d5a8..653a3b0855c4992601dbcfa0eb09b7f1f6f29837 100644 --- a/en/react-native-background-fetch.md +++ b/en/react-native-background-fetch.md @@ -206,18 +206,23 @@ export default App; ## Use Codegen -Version >= @react-native-ohos/react-native-background-fetch@4.2.6, compatible with codegen-lib for generating bridge code. - -If this repository 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). +This library has been adapted for `Codegen`. Before using it, you need to proactively generate the bridge code for the third-party library. For details, please refer to the [Codegen Usage Documentation](/en/codegen.md). ## Link -Version >= @react-native-ohos/react-native-background-fetch@4.2.6 now supports Autolink without requiring manual configuration(The content that still needs to be manually configured has been marked in the corresponding title), 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 | +|--------------------------------------|-----------------------|----------------------| +| ~4.3.0 | No | 0.77 | +| ~4.2.6 | Yes | 0.72 | +| <= 4.2.5-0.0.2@deprecated | No | 0.72 | + +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 -This step provides guidance for manually configuring native dependencies. +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. +First, use DevEco Studio to open the HarmonyOS project `harmony` in the project directory. ### Adding the overrides Field to oh-package.json5 File in the Root Directory of the Project @@ -334,6 +339,12 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { } ``` +
+ +## Necessary configuration items + +> [!TIP] The content of this module cannot be automatically generated by autolink and must always be manually configured. + ### Introducing RNBackgroundFetchExtensionAbility to ArkTS(This module always requires manual configuration) 1. Open'entry/src/main/ets', create a new directory and ArkTS file, and create a new directory and name it WorkSchedulerExtension. In the WorkSchedulerExtension directory, create an ArkTS file and name it WorkSchedulerExtension.ets to implement the delayed task callback interface. @@ -369,7 +380,7 @@ export default class MyWorkSchedulerExtensionAbility extends RNBackgroundFetchEx } ``` -### Running +## Running Click the `sync` button in the upper right corner. diff --git a/zh-cn/bam-tech-react-native-image-resizer.md b/zh-cn/bam-tech-react-native-image-resizer.md index 5976fd475d9905f7d18c1c62fd2d104aaea68de7..f85ac81b34c3e9c906177c1151b8325d7caf76ad 100644 --- a/zh-cn/bam-tech-react-native-image-resizer.md +++ b/zh-cn/bam-tech-react-native-image-resizer.md @@ -278,17 +278,23 @@ export default ImageResizerDemo; ## 使用 Codegen -Version >= @react-native-ohos/react-native-image-resizer@3.0.10,已适配codegen-lib生成桥接代码。 - 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/react-native-image-resizer@3.0.10,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~3.1.0 | No | 0.77 | +| ~3.0.10 | Yes | 0.72 | +| <= 3.0.9-0.0.4@deprecated | No | 0.72 | + +使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md -此步骤为手动配置原生依赖项的指导。 +如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。 +
+ ManualLink: 此步骤为手动配置原生依赖项的指导 -首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony` +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。 ### 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段 @@ -404,8 +410,9 @@ std::vector> PackageProvider::getPackages(Package::Cont }; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/baronha-ting.md b/zh-cn/baronha-ting.md index ec71e78f2811e4e57460836010a62656bc05eca6..32daf042f23a9ac9e781204354bfdb732cc0941a 100644 --- a/zh-cn/baronha-ting.md +++ b/zh-cn/baronha-ting.md @@ -81,15 +81,21 @@ export default App; ## 使用 Codegen -Version >= @react-native-ohos/ting@1.2.3,已适配codegen-lib生成桥接代码。 - 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/ting@1.2.3,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~1.3.0 | No | 0.77 | +| ~1.2.3 | Yes | 0.72 | +| <= 1.2.2-0.0.3@deprecated | No | 0.72 | + +使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md -此步骤为手动配置原生依赖项的指导。 +如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。 +
+ ManualLink: 此步骤为手动配置原生依赖项的指导 首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony` @@ -201,8 +207,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/jpush-react-native.md b/zh-cn/jpush-react-native.md index c84f2f3cea40af66884901ce160fb8b0dd7dcac7..ed75ec41268a1b06b941a0e55e3a300606d82610 100644 --- a/zh-cn/jpush-react-native.md +++ b/zh-cn/jpush-react-native.md @@ -87,15 +87,21 @@ export default App; ``` ## 使用 Codegen -Version >= @react-native-ohos/jpush-react-native@3.1.2,已适配codegen-lib生成桥接代码。 - -本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 +本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/jpush-react-native@3.1.2,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------------|----------------------| +| ~3.2.0 | No | 0.77 | +| ~3.1.2 | Yes | 0.72 | +| <= 3.1.1-0.0.5@deprecated | No | 0.72 | + +使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md -此步骤为手动配置原生依赖项的指导。 +如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。 +
+ ManualLink: 此步骤为手动配置原生依赖项的指导 首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony` @@ -206,8 +212,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. 运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/klarna-platform-colors.md b/zh-cn/klarna-platform-colors.md index b0ad34654e85b91606696ce42d1b054686af8c90..2e576fef542f0b3453be3b0bd56af3dd05a81910 100644 --- a/zh-cn/klarna-platform-colors.md +++ b/zh-cn/klarna-platform-colors.md @@ -181,17 +181,23 @@ const styles = StyleSheet.create({ ## 使用 Codegen -Version >= @react-native-ohos/platform-colors@0.4.1,已适配codegen-lib生成桥接代码。 - -本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 +本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/platform-colors@0.4.1,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------------|----------------------| +| ~0.5.0 | No | 0.77 | +| ~0.4.1 | Yes | 0.72 | +| <= 0.4.0-0.0.1@deprecated | No | 0.72 | + +使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md -此步骤为手动配置原生依赖项的指导。 +如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。 +
+ ManualLink: 此步骤为手动配置原生依赖项的指导 -首先需要使用 DevEco Studio 打开项目里的鸿蒙工程 `harmony` +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony` ### 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段 @@ -315,7 +321,9 @@ std::vector> PackageProvider::getPackages(Package::Cont } ``` -### 5.运行 +
+ +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/op-engineering-op-sqlite.md b/zh-cn/op-engineering-op-sqlite.md index afc21ffc529b9f76fd55b8fdca9525ac9c5df8b4..21ff5d2207c67e6f4528b9196efee3af2dcdae36 100644 --- a/zh-cn/op-engineering-op-sqlite.md +++ b/zh-cn/op-engineering-op-sqlite.md @@ -118,9 +118,17 @@ export default function OpSqliteExample() { ## Link -Version >= @react-native-ohos/op-sqlite@8.0.3,已支持 Autolink,无需手动配置(仍需手动配置的内容已在对应标题处标记),目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------------|----------------------| +| ~14.0.1 | No | 0.77 | +| ~8.0.3 | Yes | 0.72 | +| <= 8.0.2-0.0.3@deprecated | No | 0.72 | -此步骤为手动配置原生依赖项的指导。 +使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md + +如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。 +
+ ManualLink: 此步骤为手动配置原生依赖项的指导 首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony` @@ -246,8 +254,13 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
+ +## 必要的配置项 + +> [!TIP] 该模块的内容无法通过autolink自动生成,始终需要手动配置。 -### 5.在ide的工程根目录创建package.json文件,并配置参数(该模块始终需要手动配置) +### 1.在ide的工程根目录创建package.json文件,并配置参数(该模块始终需要手动配置) ```diff { @@ -262,7 +275,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { } ``` -### 6. 在 ArkTs 侧引入 opSqlitePlugin(该模块始终需要手动配置) +### 2. 在 ArkTs 侧引入 opSqlitePlugin(该模块始终需要手动配置) 打开 `entry/hvigorfile.ts`,添加: @@ -281,7 +294,7 @@ export default { } ``` -### 7. 运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-amap3d.md b/zh-cn/react-native-amap3d.md index 121bd4bba93463fe856ca0b0dc66f8a29904ac0f..5fc8dd3c58bca2e41eee2bb01902b2614dfe3c44 100644 --- a/zh-cn/react-native-amap3d.md +++ b/zh-cn/react-native-amap3d.md @@ -14,7 +14,7 @@

-> [!TIP] [Github address](https://github.com/qiuxiang/react-native-amap3d) +> [!TIP] [Github address](https://github.com/react-native-oh-library/react-native-amap3d) ## 安装与使用 @@ -168,12 +168,19 @@ export default AMapDemo; ## Link +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------------|----------------------| +| ~3.3.0 | No | 0.77 | +| ~3.2.6 | Yes | 0.72 | +| <= 3.2.5@deprecated | No | 0.72 | -Version >= @react-native-ohos/react-native-amap3d@3.2.6,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md -此步骤为手动配置原生依赖项的指导。 +如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。 +
+ ManualLink: 此步骤为手动配置原生依赖项的指导 -首先需要使用 DevEco Studio 打开项目里的HarmonyOS工程 `harmony` +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony` ### 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段 @@ -373,8 +380,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 6.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-background-fetch.md b/zh-cn/react-native-background-fetch.md index 71340d311d4f99a3c4b587ba3d149d673fb01aab..151a1bd08f8c75bf28ac44cd11eb2c2d8b6c31f5 100644 --- a/zh-cn/react-native-background-fetch.md +++ b/zh-cn/react-native-background-fetch.md @@ -206,17 +206,23 @@ export default App; ## 使用 Codegen -Version >= @react-native-ohos/react-native-background-fetch@4.2.6,已适配codegen-lib生成桥接代码。 - 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/react-native-background-fetch@4.2.6,已支持 Autolink,无需手动配置(仍需手动配置的内容已在对应标题处标记),目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~4.3.0 | No | 0.77 | +| ~4.2.6 | Yes | 0.72 | +| <= 4.2.5-0.0.2@deprecated | No | 0.72 | + +使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md -此步骤为手动配置原生依赖项的指导。 +如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。 +
+ ManualLink: 此步骤为手动配置原生依赖项的指导 -首先需要使用 DevEco Studio 打开项目里的鸿蒙工程 `harmony` +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。 ### 在工程根目录的 `oh-package.json5` 添加 overrides 字段 @@ -336,6 +342,12 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { } ``` +
+ +## 必要的配置项 + +> [!TIP] 该模块的内容无法通过autolink自动生成,始终需要手动配置。 + ### 在 ArkTs 侧引入 RNBackgroundFetchExtensionAbility(该模块始终需要手动配置) 1. 打开 `entry/src/main/ets`,新建目录及 ArkTS 文件,新建一个目录并命名为 WorkSchedulerExtension。在 WorkSchedulerExtension 目录下,新建一个 ArkTS 文件并命名为 WorkSchedulerExtension.ets,用以实现延迟任务回调接口。 @@ -373,7 +385,7 @@ export default class MyWorkSchedulerExtensionAbility extends RNBackgroundFetchEx } ``` -### 运行 +## 运行 点击右上角的 `sync` 按钮