diff --git a/en/mixpanel-react-native.md b/en/mixpanel-react-native.md index 9aa4c1a5960130edf8b4148062fd68da078b42b7..c9ef8fb89cff2b52667655a346d484dd1e0a39be 100644 --- a/en/mixpanel-react-native.md +++ b/en/mixpanel-react-native.md @@ -20,7 +20,7 @@ Find the matching version information in the release address of a third-party li | Third-party Library Version | Release Information | Supported RN Version | |----------------------------|--------------------------------------------------------------------------------------------------------------------------------------| ---------- | -| <= 3.0.5-0.1.1| [@react-native-oh-tpl/mixpanel-react-native Releases(deprecated)](https://github.com/react-native-oh-library/mixpanel-react-native/releases) | 0.72 | +| <= 3.0.5-0.1.1@deprecated| [@react-native-oh-tpl/mixpanel-react-native Releases(deprecated)](https://github.com/react-native-oh-library/mixpanel-react-native/releases) | 0.72 | | 3.0.6 | [@react-native-ohos/mixpanel-react-native Releases](https://github.com/react-native-oh-library/mixpanel-react-native/releases) | 0.72 | | 3.2.0 | [@react-native-ohos/mixpanel-react-native Releases](https://github.com/react-native-oh-library/mixpanel-react-native/releases) | 0.77 | @@ -75,18 +75,23 @@ export default function MixpanelDemo() { ## Use Codegen -Version >= @react-native-ohos/mixpanel-react-native@3.0.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/mixpanel-react-native@3.0.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.2.0 | No | 0.77 | +| ~3.0.6 | Yes | 0.72 | +| <= 3.0.5-0.1.1@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 ```json @@ -191,8 +196,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-amap-geolocation.md b/en/react-native-amap-geolocation.md index 9718f2602437d443866e0df4529a31bb2e7b65b8..7dafefac6ad240a5024a8be66d8af0b8529dcf57 100644 --- a/en/react-native-amap-geolocation.md +++ b/en/react-native-amap-geolocation.md @@ -296,18 +296,24 @@ There are several important points to note when using this library: ## Use Codegen -Version >= @react-native-ohos/react-native-amap-geolocation@1.2.4, compatible with codegen-lib for generating bridge code. - -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-amap-geolocation@1.2.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 +| | Is supported autolink | Supported RN Version | +|--------------------------------------|-----------------------|----------------------| +| ~1.3.0 | No | 0.77 | +| ~1.2.4 | Yes | 0.72 | +| <= 1.2.3-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 + +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. -This step provides guidance for manually configuring native dependencies. +First, use DevEco Studio to open the HarmonyOS project `harmony` in the project directory. -Open the `harmony` directory of the HarmonyOS project in DevEco Studio. ### 1. Adding the overrides Field to oh-package.json5 File in the Root Directory of the Project @@ -401,8 +407,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-apple-authentication.md b/en/react-native-apple-authentication.md index fb97d1e291a7b24caee3cbfb5bccb2fb43644e49..2d4b4d88615ac776ca310d8f235e1eb6a71acdbc 100644 --- a/en/react-native-apple-authentication.md +++ b/en/react-native-apple-authentication.md @@ -90,18 +90,23 @@ export default AppleAuthenticationDemo; ## Use Codegen -Version >= @react-native-ohos/react-native-apple-authentication@2.3.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/react-native-apple-authentication@2.3.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 | +|--------------------------------------|-----------------------|----------------------| +| ~2.4.2 | No | 0.77 | +| ~2.3.1 | Yes | 0.72 | +| <= 2.3.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 @@ -224,8 +229,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-audio-recorder-player.md b/en/react-native-audio-recorder-player.md index 067f3482e1d6406d95b70e0874e2f2099006bf26..d25a0b3b33bf792a22b7ff8adb763cceb16c32f0 100644 --- a/en/react-native-audio-recorder-player.md +++ b/en/react-native-audio-recorder-player.md @@ -57,7 +57,7 @@ import AudioRecorderPlayer, { PlayBackType, RecordBackType, } from 'react-native-audio-recorder-player'; -import { AudioMimeHarmonyType, AudioFormatHarmonyType, AudioSourceHarmonyType, AudioSet } from "@react-native-ohos/react-native-audio-recorder-player"; +import { AudioMimeHarmonyType, AudioFormatHarmonyType, AudioSourceHarmonyType, AudioSet } from "react-native-audio-recorder-player"; import { Dimensions, @@ -521,12 +521,19 @@ export default Page; ## Link -Version >= @react-native-ohos/react-native-audio-recorder-player@3.6.11 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.7.0 | No | 0.77 | +| ~3.6.11 | Yes | 0.72 | +| <= 3.6.10-0.0.2@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. ### Adding the overrides Field to `oh-package.json5 File` in the Root Directory of the Project @@ -645,8 +652,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-audio-toolkit.md b/en/react-native-audio-toolkit.md index c46d86ecd8e908dee354efbc4bf66db5852781da..d664cb14402529670cad7554a1b111446dcb2656 100644 --- a/en/react-native-audio-toolkit.md +++ b/en/react-native-audio-toolkit.md @@ -436,18 +436,23 @@ const styles = StyleSheet.create({ ## Use Codegen -Version >= @react-native-ohos/audio-toolkit@2.0.4, 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/audio-toolkit@2.0.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 +| | Is supported autolink | Supported RN Version | +|--------------------------------------|-----------------------|----------------------| +| ~2.1.0 | No | 0.77 | +| ~2.0.4 | Yes | 0.72 | +| <= 2.0.3-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 @@ -568,8 +573,9 @@ std::vector> PackageProvider::getPackages(Package::Cont }; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-audio.md b/en/react-native-audio.md index 511e8b823a8236da2ead9461334bf707988ca863..e65ef799f2d446797e6a6d2aaf653133948dfca0 100644 --- a/en/react-native-audio.md +++ b/en/react-native-audio.md @@ -6,7 +6,7 @@ > [!TIP] [GitHub address](https://github.com/jsierles/react-native-audio) -## Installation and Usage +## 1. Installation and Usage Please refer to the Releases page of the third-party library for the corresponding version information @@ -188,14 +188,21 @@ export default () => { } ``` -## 2. Manual Link +## 2. Link -Version >= @react-native-ohos/react-native-audio@4.2.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 +| | Is supported autolink | Supported RN Version | +|--------------------------------------|-----------------------|----------------------| +| ~4.3.0 | No | 0.77 | +| ~4.2.4 | Yes | 0.72 | +| <= 4.3.1-0.1.0@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. ### 2.1 Overrides RN SDK @@ -295,8 +302,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 2.4 Running +## 3. Running Click the `sync` button in the upper right corner. @@ -309,9 +317,9 @@ ohpm install Then build and run the code. -## 3. Constraints +## 4. Constraints -### 3.1 Compatibility +### 4.1 Compatibility 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. @@ -321,7 +329,7 @@ Verified in the following versions. 2. RNOH: 0.72.33; SDK: HarmonyOS NEXT B1; IDE: DevEco Studio: 5.0.3.900; ROM: Next.0.0.71; 3. RNOH: 0.77.18; SDK: HarmonyOS 6.0.0 Release SDK; IDE: DevEco Studio 6.0.0.858; ROM: 6.0.0.112; -## 4. API +## 5. API > [!TIP] The **Platform** column indicates the platform where the properties are supported in the original third-party library. @@ -337,10 +345,10 @@ Verified in the following versions. | resumeRecording | Resume recording | function | no | Android/IOS | yes | | stopRecording | stop recording | function | no | Android/IOS | yes | -## 5. Known Issues +## 6. Known Issues -## 6. Others -### 6.1 Encoding formats supported by different systems +## 7. Others +### 7.1 Encoding formats supported by different systems Encodings supported on iOS: lpcm, ima4, aac, MAC3, MAC6, ulaw, alaw, mp1, mp2, alac, amr. @@ -350,6 +358,6 @@ Encodings supported on Harmony: aac. AudioQuality、MeteringEnabled、MeasurementMode is only for ios now. -## 7. License +## 8. License This project is licensed under [The MIT License (MIT)](https://gitee.com/openharmony-sig/rntpc_react-native-audio/blob/master/LICENSE), Please enjoy and participate freely in open source. \ No newline at end of file diff --git a/en/react-native-background-timer.md b/en/react-native-background-timer.md index 92c4699f359f33418a2a8c57e60807e3e68b84f0..eaf2782b9d9012fa6a94cc71c3225db062c48bbd 100644 --- a/en/react-native-background-timer.md +++ b/en/react-native-background-timer.md @@ -200,13 +200,21 @@ const styles = StyleSheet.create({ ``` -## 2. Manual Link +## 2. Link -Version >= @react-native-ohos/react-native-background-timer@2.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 +| | Is supported autolink | Supported RN Version | +|--------------------------------------|-----------------------|----------------------| +| ~2.5.0 | No | 0.77 | +| ~2.4.2 | Yes | 0.72 | +| <= 2.4.1-0.0.2@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. ### 2.1 Overrides RN SDK @@ -306,7 +314,13 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { } ``` -### 2.5 Configure TurboModule to run on worker thread +
+ +## 3.Necessary configuration items + +> [!TIP] The content of this module cannot be automatically generated by autolink and must always be manually configured. + +### Configure TurboModule to run on worker thread(This module always requires manual configuration) Open the `entry/src/main/ets/entryability/EntryAbility.ets`file and add the following code: @@ -349,7 +363,7 @@ Right click on the ETS path and select the `New` option. Expand the menu on the }) ``` -### 2.6 Running +## 4. Running Click the `sync` button in the upper right corner. @@ -362,9 +376,9 @@ ohpm install Then build and run the code. -## 3. Constraints +## 5. Constraints -### 3.1 Compatibility +### 5.1 Compatibility 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. @@ -374,7 +388,7 @@ Verified in the following versions. 2. RNOH: 0.72.33; SDK: HarmonyOS NEXT B1; IDE: DevEco Studio: 5.0.3.900; ROM: Next.0.0.71; 3. RNOH: 0.77.18; SDK: HarmonyOS 6.0.0 Release SDK; IDE: DevEco Studio 6.0.0.858; ROM: 6.0.0.112; -## 4. APIs +## 6. APIs > [!TIP] The **Platform** column indicates the platform where the properties are supported in the original third-party library. @@ -391,12 +405,12 @@ Verified in the following versions. | setInterval | Starts a timer to repeatedly execute specified code at a fixed interval. | no | Android | yes | | clearInterval | Stops the timer started by **setInterval**. | no | Android | yes | -## 5. Known Issues +## 7. Known Issues - [ ] The underlying OS does not support RNOHContext serialized transfer in the new thread created by Worker. As a result, events cannot be sent in the new thread. The underlying OS framework needs to implement related service functionality. If no thread is started, the timer is not affected because **setTimeout** is an asynchronous method. The **start** and **stop** APIs of the Worker thread are not supported in HarmonyOS RN: [issue](https://gitcode.com/openharmony-sig/rntpc_react-native-background-timer/issues/2). -## 6. Others +## 8. Others -## 7. License +## 9. License This project is licensed under (https://GitCode.com/openharmony-sig/rntpc_react-native-background-timer/blob/master/LICENSE). diff --git a/en/react-native-baidu-map.md b/en/react-native-baidu-map.md index 484ac5b7b369bdecfcb9c109032171575c1d2d53..e8ba2ab0a8156f9e4e0a7d7ee8c69e4b69228928 100644 --- a/en/react-native-baidu-map.md +++ b/en/react-native-baidu-map.md @@ -165,12 +165,19 @@ export default App; ## Link -Version >= @react-native-ohos/react-native-baidu-map@1.0.38 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.1.0 | No | 0.77 | +| ~1.0.38 | Yes | 0.72 | +| <= 1.0.37-0.0.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 @@ -374,8 +381,9 @@ const arkTsComponentNames: Array = [ + BAIDU_MAP_OVERLAY_TEXT_TYPE ]; ``` +
-### 6. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-bars.md b/en/react-native-bars.md index d506ed7897099c012d5684574b26ddc1ca07a463..1cc56c5a7c9ccbb73bb5ff5293b1f72dc7aa47b0 100644 --- a/en/react-native-bars.md +++ b/en/react-native-bars.md @@ -76,17 +76,23 @@ export function BarExample() { ## Use Codegen -Version >= @react-native-ohos/react-native-bars@2.4.4, 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-bars@2.4.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 +| | Is supported autolink | Supported RN Version | +|--------------------------------------|-----------------------|----------------------| +| ~2.5.0 | No | 0.77 | +| ~2.4.4 | Yes | 0.72 | +| <= 2.4.3-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. -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 @@ -200,8 +206,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-bindingx.md b/en/react-native-bindingx.md index 77e47e133a8614c3ffbb830557a179c6d70009f7..e7152fba60a41704ef193a2d2e3534aed10e0af6 100644 --- a/en/react-native-bindingx.md +++ b/en/react-native-bindingx.md @@ -161,12 +161,19 @@ const styles = StyleSheet.create({ ## Link -Version >= @react-native-ohos/react-native-bindingx@1.0.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 +| | Is supported autolink | Supported RN Version | +|--------------------------------------|-----------------------|----------------------| +| ~1.1.0 | No | 0.77 | +| ~1.0.4 | Yes | 0.72 | +| <= 1.0.3-0.0.4@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 @@ -288,8 +295,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-ble-plx.md b/en/react-native-ble-plx.md index 8a9fc5cbe7815cc2bd81ccc0591a39d37a5ba657..5cde05a845de5c1eb508d195aa68c9631e107231 100644 --- a/en/react-native-ble-plx.md +++ b/en/react-native-ble-plx.md @@ -214,18 +214,23 @@ export default App; ## Use Codegen -Version >= @react-native-ohos/react-native-ble-plx@3.2.1, compatible with codegen-lib for generating bridge code. - -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-ble-plx@3.2.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 | +|--------------------------------------|-----------------------|----------------------| +| ~3.5.1 | No | 0.77 | +| ~3.2.1 | Yes | 0.72 | +| <= 3.2.0-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. -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 @@ -345,8 +350,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-blurhash.md b/en/react-native-blurhash.md index 64bf4175c46aa4bc9a5dabdca9d58963f1a3ddba..97ce2d7e1ed6f6789142c2b91b2b40b5649240c1 100644 --- a/en/react-native-blurhash.md +++ b/en/react-native-blurhash.md @@ -263,11 +263,19 @@ export default BlurhashDemo ## Link -Version >= @react-native-ohos/react-native-blurhash@2.0.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 +| | Is supported autolink | Supported RN Version | +|--------------------------------------|-----------------------|----------------------| +| ~2.1.0 | No | 0.77 | +| ~2.0.4 | Yes | 0.72 | +| <= 2.0.3-0.0.7@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 @@ -390,8 +398,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { } ``` +
-### 5.Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-bootsplash.md b/en/react-native-bootsplash.md index 3e022b55c53dcd9dc0a0bbee1e04e993b201732d..e07079b40a6739285a5aedfaa98050df7ccde9f4 100644 --- a/en/react-native-bootsplash.md +++ b/en/react-native-bootsplash.md @@ -265,17 +265,23 @@ export default App; ## Use Codegen -Version >= @react-native-ohos/react-native-bootsplash@6.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/react-native-bootsplash@6.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 | +|--------------------------------------|-----------------------|----------------------| +| ~6.3.5 | No | 0.77 | +| ~6.1.2 | Yes | 0.72 | +| <= 6.1.1-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. -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 @@ -398,8 +404,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-calendar-events.md b/en/react-native-calendar-events.md index adbada4fd10cdacc5523ae557cc36728b0ec56c7..03e278b80f6ced1381ebb05651e5c7e20df54d01 100644 --- a/en/react-native-calendar-events.md +++ b/en/react-native-calendar-events.md @@ -243,18 +243,24 @@ export default CalendarDemo; ## Use Codegen -Version >= @react-native-ohos/react-native-calendar-events@2.2.1, 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). -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). ## Link -Version >= @react-native-ohos/react-native-calendar-events@2.2.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 | +|--------------------------------------|-----------------------|----------------------| +| ~2.3.0 | No | 0.77 | +| ~2.2.1 | Yes | 0.72 | +| <= 2.2.0-0.0.4@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 @@ -361,8 +367,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-callkeep.md b/en/react-native-callkeep.md index a96274110b8a23d7c52db1bb39fe51d26aaa8685..38cc551fd586ba3acbc7853fe8f9ddabdfcfdcbe 100644 --- a/en/react-native-callkeep.md +++ b/en/react-native-callkeep.md @@ -24,7 +24,7 @@ Find the matching version information in the release address of a third-party li | Third-party Library Version | Release Information | Supported RN Version | |----------------------------|--------------------------------------------------------------------------------------------------------------------------------------| ---------- | -| <= 4.3.14-0.0.1 | [@react-native-oh-tpl/react-native-callkeep Releases(deprecated)](https://github.com/react-native-oh-library/react-native-callkeep/releases) | 0.72 | +| <= 4.3.14-0.0.1@deprecated | [@react-native-oh-tpl/react-native-callkeep Releases(deprecated)](https://github.com/react-native-oh-library/react-native-callkeep/releases) | 0.72 | | 4.3.15 | [@react-native-ohos/react-native-callkeep Releases](https://github.com/react-native-oh-library/react-native-callkeep/releases) | 0.72 | 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. @@ -99,17 +99,22 @@ export function CallKeepExample() { ``` ## Use Codegen -Version >= @react-native-ohos/react-native-callkeep@4.3.15, 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-callkeep@4.3.15, 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 | +|--------------------------------------|-----------------------|----------------------| +| ~4.3.15 | Yes | 0.72 | +| <= 4.3.14-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 @@ -216,8 +221,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-worklets-core.md b/en/react-native-worklets-core.md index 0f39adb464034c6edf64ef4d9430a51f82dec7c1..fa753d3ff70b5b2eaa08fbae2ed81da5d5eb53e7 100644 --- a/en/react-native-worklets-core.md +++ b/en/react-native-worklets-core.md @@ -101,12 +101,19 @@ export default App; ## Link -Version >= @react-native-ohos/react-native-worklets-core@1.3.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/en/Autolinking.md +| | Is supported autolink | Supported RN Version | +|--------------------------------------|-----------------------|----------------------| +| ~1.5.1 | No | 0.77 | +| ~1.3.4 | Yes | 0.72 | +| <= 1.3.3-0.0.4@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 @@ -223,8 +230,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/en/react-native-zip-archive.md b/en/react-native-zip-archive.md index 58ba46c1e844edb98b46ecaf0dd5bf8144b9a612..3aabdb68daff8fa1702234a8c23f74ec9ebcf9c6 100644 --- a/en/react-native-zip-archive.md +++ b/en/react-native-zip-archive.md @@ -405,17 +405,23 @@ const styles = StyleSheet.create({ ## Use Codegen -Version >= @react-native-ohos/react-native-zip-archive@6.1.2, compatible with codegen-lib for generating bridge code. - -This library has adapted Codegen, and before using it, you need to actively execute the generation of third-party library bridge code. For details, please refer to[Codegen Usage Document](/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-zip-archive@6.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 | +|--------------------------------------|-----------------------|----------------------| +| ~7.1.0 | No | 0.77 | +| ~6.1.2 | Yes | 0.72 | +| <= 6.1.1-0.1.0@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 @@ -545,8 +551,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5. Running +## Running Click the `sync` button in the upper right corner. diff --git a/zh-cn/mixpanel-react-native.md b/zh-cn/mixpanel-react-native.md index d6f52d0595db21e561e26821c19740d7240cb111..fe59cd929342a3915e2113980493ef4db7e68a36 100644 --- a/zh-cn/mixpanel-react-native.md +++ b/zh-cn/mixpanel-react-native.md @@ -20,7 +20,7 @@ | 三方库版本 | 发布信息 | 支持RN版本 | |-----------------| ------------------------------------------------------------ | ---------- | -| <= 3.0.5-0.1.1 | [@react-native-oh-tpl/mixpanel-react-native Releases(deprecated)](https://github.com/react-native-oh-library/mixpanel-react-native/releases) | 0.72 | +| <= 3.0.5-0.1.1@deprecated | [@react-native-oh-tpl/mixpanel-react-native Releases(deprecated)](https://github.com/react-native-oh-library/mixpanel-react-native/releases) | 0.72 | | 3.0.6 | [@react-native-ohos/mixpanel-react-native Releases](https://github.com/react-native-oh-library/mixpanel-react-native/releases) | 0.72 | | 3.2.0 | [@react-native-ohos/mixpanel-react-native Releases](https://github.com/react-native-oh-library/mixpanel-react-native/releases) | 0.77 | @@ -75,17 +75,23 @@ export default function MixpanelDemo() { ## 使用 Codegen -Version >= @react-native-ohos/mixpanel-react-native@3.0.6,已适配codegen-lib生成桥接代码。 - 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/mixpanel-react-native@3.0.6,已支持 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.0.6 | Yes | 0.72 | +| <= 3.0.5-0.1.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 打开项目里的 HarmonyOS 工程 `harmony` +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。 ### 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段 @@ -194,8 +200,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-amap-geolocation.md b/zh-cn/react-native-amap-geolocation.md index 2c2e06d381aa16a0c98aa1078444576ee5af4e76..e0be170fc865eab4579e6bb5ab355b098e1fd832 100644 --- a/zh-cn/react-native-amap-geolocation.md +++ b/zh-cn/react-native-amap-geolocation.md @@ -296,17 +296,23 @@ export default AmapGeoLocationDemo; ## 使用 Codegen -Version >= @react-native-ohos/react-native-amap-geolocation@1.2.4,已适配codegen-lib生成桥接代码。 - 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/react-native-amap-geolocation@1.2.4,已支持 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.4 | Yes | 0.72 | +| <= 1.2.3-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` +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。 ### 1.在工程根目录的 `oh-package.json` 添加 overrides 字段 @@ -402,8 +408,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-apple-authentication.md b/zh-cn/react-native-apple-authentication.md index 86c4f117b920032e5c56e11a4fd80ed4fbc95c4a..616bccc0b907c06ea63a04e83c42233744ddbb02 100644 --- a/zh-cn/react-native-apple-authentication.md +++ b/zh-cn/react-native-apple-authentication.md @@ -86,18 +86,24 @@ export default AppleAuthenticationDemo; ## 使用 Codegen -Version >= @react-native-ohos/react-native-apple-authentication@2.3.1,已适配codegen-lib生成桥接代码。 - -本库已经适配了 Codegen ,在使用前需要主动执行生成三方库桥接代码,详细请参考 [Codegen 文档](/zh-cn/codegen.md)。 +本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/react-native-apple-authentication@2.3.1,已支持 Autolink,无需手动配置,目前只支持72框架。 -Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md -此步骤为手动配置原生依赖项的指导。 +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~2.4.2 | No | 0.77 | +| ~2.3.1 | Yes | 0.72 | +| <= 2.3.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 打开项目里的 HarmonyOS 工程 `harmony` +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。 ### 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段 @@ -223,8 +229,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-audio-recorder-player.md b/zh-cn/react-native-audio-recorder-player.md index cee0f645824b9262d9fe49d5d0c962214bf7ba9a..bf37ce412c1d80f1434fd03623439ab110bd9278 100644 --- a/zh-cn/react-native-audio-recorder-player.md +++ b/zh-cn/react-native-audio-recorder-player.md @@ -517,13 +517,22 @@ class Page extends Component { export default Page; ``` + ## Link -Version >= @react-native-ohos/react-native-audio-recorder-player@3.6.11,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~3.7.0 | No | 0.77 | +| ~3.6.11 | Yes | 0.72 | +| <= 3.6.10-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 打开项目里的 HarmonyOS 工程 `harmony` +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。 ### 在工程根目录的 `oh-package.json5` 添加 overrides 字段 @@ -643,8 +652,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-audio-toolkit.md b/zh-cn/react-native-audio-toolkit.md index 73ce37112d686a72931d9f42ea51dc3093a6f0f9..5875e73e9e76f8f2152a55f869e26a0a6fb88b8a 100644 --- a/zh-cn/react-native-audio-toolkit.md +++ b/zh-cn/react-native-audio-toolkit.md @@ -398,17 +398,23 @@ const styles = StyleSheet.create({ ## 使用 Codegen -Version >= @react-native-ohos/audio-toolkit@2.0.4,已适配codegen-lib生成桥接代码。 - 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/audio-toolkit@2.0.4,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~2.1.0 | No | 0.77 | +| ~2.0.4 | Yes | 0.72 | +| <= 2.0.3-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` +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。 ### 1.在工程根目录的 `oh-package.json` 添加 overrides 字段 @@ -530,8 +536,9 @@ std::vector> PackageProvider::getPackages(Package::Cont }; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-audio.md b/zh-cn/react-native-audio.md index 76a49fc0d39ba7a5b38c26e8ffa2a7276dc49e53..d660337796ae222d0a2adfcfc878a5cb7ed98c5a 100644 --- a/zh-cn/react-native-audio.md +++ b/zh-cn/react-native-audio.md @@ -6,7 +6,7 @@ > [!TIP] [Github 地址](https://github.com/jsierles/react-native-audio) -## 安装与使用 +## 1. 安装与使用 请到三方库的 Releases 发布地址查看配套的版本信息: @@ -188,11 +188,19 @@ export default () => { } ``` -## 2. Manual Link +## 2.Link -Version >= @react-native-ohos/react-native-audio@4.2.4,已支持 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.4 | Yes | 0.72 | +| <= 4.3.1-0.1.0@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`。 @@ -294,8 +302,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 2.4 运行 +## 3. 运行 点击右上角的 `sync` 按钮 @@ -308,9 +317,9 @@ ohpm install 然后编译、运行即可。 -## 3. 约束与限制 +## 4. 约束与限制 -### 3.1 兼容性 +### 4.1 兼容性 要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 @@ -321,7 +330,7 @@ ohpm install 3. RNOH: 0.77.18; SDK: HarmonyOS 6.0.0 Release SDK; IDE: DevEco Studio 6.0.0.858; ROM: 6.0.0.112; -## 4. API +## 5. API > [!TIP] "Platform"列表示该属性在原三方库上支持的平台。 @@ -337,10 +346,10 @@ ohpm install | resumeRecording | Resume recording | function | no | Android/IOS | yes | | stopRecording | stop recording | function | no | Android/IOS | yes | -## 5. 遗留问题 +## 6. 遗留问题 -## 6. 其他 -### 6.1 不同系统支持的编码格式 +## 7. 其他 +### 7.1 不同系统支持的编码格式 Encodings supported on iOS: lpcm, ima4, aac, MAC3, MAC6, ulaw, alaw, mp1, mp2, alac, amr. @@ -350,6 +359,6 @@ Encodings supported on Harmony: aac. AudioQuality、MeteringEnabled、MeasurementMode is only for ios now. -## 7. 开源协议 +## 8. 开源协议 本项目基于 [The MIT License (MIT)](https://gitee.com/openharmony-sig/rntpc_react-native-audio/blob/master/LICENSE) ,请自由地享受和参与开源。 \ No newline at end of file diff --git a/zh-cn/react-native-background-timer.md b/zh-cn/react-native-background-timer.md index ce543e806650c037befed1b638efa58948e3e92e..d09699e8b97b03e32c4f158bb42120ded57cfc2b 100644 --- a/zh-cn/react-native-background-timer.md +++ b/zh-cn/react-native-background-timer.md @@ -203,11 +203,19 @@ const styles = StyleSheet.create({ ``` -## 2. Manual Link +## 2. Link -Version >= @react-native-ohos/react-native-background-timer@2.4.2,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~2.5.0 | No | 0.77 | +| ~2.4.2 | Yes | 0.72 | +| <= 2.4.1-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 打开项目里的 HarmonyOS 工程 `harmony`。 @@ -308,8 +316,13 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
+ +## 3.必要的配置项 -### 2.5 配置TurboModule运行在worker线程 +> [!TIP] 该模块的内容无法通过autolink自动生成,始终需要手动配置。 + +### 配置TurboModule运行在worker线程(该模块始终需要手动配置) 打开 `entry/src/main/ets/entryability/EntryAbility.ets`,添加: @@ -351,7 +364,8 @@ export default class EntryAbility extends RNAbility { }) ``` -### 2.6 运行 + +## 4. 运行 点击右上角的 `sync` 按钮 @@ -364,9 +378,9 @@ ohpm install 然后编译、运行即可。 -## 3. 约束与限制 +## 5. 约束与限制 -### 3.1 兼容性 +### 5.1 兼容性 要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 @@ -376,7 +390,7 @@ ohpm install 2. RNOH: 0.72.33; SDK: HarmonyOS NEXT B1; IDE: DevEco Studio: 5.0.3.900; ROM: Next.0.0.71; 3. RNOH: 0.77.18; SDK: HarmonyOS 6.0.0 Release SDK; IDE: DevEco Studio 6.0.0.858; ROM: 6.0.0.112; -## 4. API +## 6. API > [!TIP] "Platform"列表示该属性在原三方库上支持的平台。 @@ -393,14 +407,14 @@ ohpm install | setInterval | 开启定时器,以固定的时间间隔重复执行指定代码 | no | Android | yes | | clearInterval | 结束setInterval开启的定时器 | no | Android | yes | -## 5. 遗留问题 +## 7. 遗留问题 - [ ] 使用worker开的新线程中不支持RNOHContext序列化传参,底层OS暂不支持,导致无法在新线程中发送事件,需要底层OS框架实现相关业务功能。不开线程的情况下,因setTimeout属于异步方法,定时器效果不受影响。[worker线程遗留问题:start和stop接口, HarmonyOS RN框架暂不支持](https://gitcode.com/openharmony-sig/rntpc_react-native-background-timer/issues/2) -## 6. 其他 +## 8. 其他 -## 7. 开源协议 +## 9. 开源协议 本项目基于 [The MIT License (MIT)](https://GitCode.com/openharmony-sig/rntpc_react-native-background-timer/blob/master/LICENSE) ,请自由地享受和参与开源。 diff --git a/zh-cn/react-native-baidu-map.md b/zh-cn/react-native-baidu-map.md index 7b81aa64fa1e4ed6c37d06cb569c9092b080723a..28ff36058ca711ae88c8479738f178e3690f702c 100644 --- a/zh-cn/react-native-baidu-map.md +++ b/zh-cn/react-native-baidu-map.md @@ -163,11 +163,19 @@ export default App; ## Link -Version >= @react-native-ohos/react-native-baidu-map@1.0.38,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~1.1.0 | No | 0.77 | +| ~1.0.38 | Yes | 0.72 | +| <= 1.0.37-0.0.5@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 字段 @@ -374,8 +382,9 @@ const arkTsComponentNames: Array = [ + BAIDU_MAP_OVERLAY_TEXT_TYPE ]; ``` +
-### 6.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-bars.md b/zh-cn/react-native-bars.md index ebec566a54df1c718158bc93d43b54e30a4555ea..86cd88cc075e0560a448bfd3cb7b56b3aebdaa46 100644 --- a/zh-cn/react-native-bars.md +++ b/zh-cn/react-native-bars.md @@ -82,17 +82,23 @@ export function BarExample() { ## 使用 Codegen -Version >= @react-native-ohos/react-native-bars@2.4.4,已适配codegen-lib生成桥接代码。 - 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/react-native-bars@2.4.4,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~2.5.0 | No | 0.77 | +| ~2.4.4 | Yes | 0.72 | +| <= 2.4.3-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 打开项目里的鸿蒙工程 `harmony` +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。 ### 1.在工程根目录的 `oh-package.json5` 添加 overrides字段 @@ -211,8 +217,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 @@ -225,6 +232,8 @@ ohpm install 然后编译、运行即可。 +## 约束与限制 + ### 兼容性 要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 diff --git a/zh-cn/react-native-bindingx.md b/zh-cn/react-native-bindingx.md index 9597b01a8ee56a15c53c9c054d86a4bd48cc7043..9b5eba512c586b465c3d5b6b2c05e98d89dd250b 100644 --- a/zh-cn/react-native-bindingx.md +++ b/zh-cn/react-native-bindingx.md @@ -162,11 +162,19 @@ const styles = StyleSheet.create({ ## Link -Version >= @react-native-ohos/react-native-bindingx@1.0.4,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~1.1.0 | No | 0.77 | +| ~1.0.4 | Yes | 0.72 | +| <= 1.0.3-0.0.4@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 字段 @@ -290,8 +298,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-ble-plx.md b/zh-cn/react-native-ble-plx.md index bb8f78c6a535ff9f70d5994a9ad1ef82fabb258f..3626d3715d0ebd819a9c9611d981dcb46187f09a 100644 --- a/zh-cn/react-native-ble-plx.md +++ b/zh-cn/react-native-ble-plx.md @@ -212,17 +212,23 @@ export default App; ## 使用 Codegen -Version >= @react-native-ohos/react-native-ble-plx@3.2.1,已适配codegen-lib生成桥接代码。 - 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/react-native-ble-plx@3.2.1,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~3.5.1 | No | 0.77 | +| ~3.2.1 | Yes | 0.72 | +| <= 3.2.0-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 字段 @@ -345,8 +351,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-blurhash.md b/zh-cn/react-native-blurhash.md index 50acfb4545aff18d02de6f0056c9d0b15a724306..8737cc71270c8745c8a53beea35ccd2325302d20 100644 --- a/zh-cn/react-native-blurhash.md +++ b/zh-cn/react-native-blurhash.md @@ -263,12 +263,19 @@ export default BlurhashDemo ## Link -Version >= @react-native-ohos/react-native-blurhash@2.0.4,已支持 Autolink,无需手动配置,目前只支持72框架。 -Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~2.1.0 | No | 0.77 | +| ~2.0.4 | Yes | 0.72 | +| <= 2.0.3-0.0.7@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 字段 @@ -392,8 +399,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-bootsplash.md b/zh-cn/react-native-bootsplash.md index 3f9b93808f78e0a12a804aa3b7efd48ac8be1425..f214570ef89c6a3a77060baf052f2e2a09df11cd 100644 --- a/zh-cn/react-native-bootsplash.md +++ b/zh-cn/react-native-bootsplash.md @@ -256,17 +256,23 @@ export default App; ## 使用 Codegen -Version >= @react-native-ohos/react-native-bootsplash@6.1.2,已适配codegen-lib生成桥接代码。 - 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/react-native-bootsplash@6.1.2,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~6.3.5 | No | 0.77 | +| ~6.1.2 | Yes | 0.72 | +| <= 6.1.1-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` +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。 ### 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段 @@ -389,8 +395,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-calendar-events.md b/zh-cn/react-native-calendar-events.md index 935d8c58f2923d58251ab405144a327c8a5f8d76..88cb934d116ca056d4911ab8dd1638ac24b3acb4 100644 --- a/zh-cn/react-native-calendar-events.md +++ b/zh-cn/react-native-calendar-events.md @@ -241,17 +241,23 @@ export default CalendarDemo; ## 使用 Codegen -Version >= @react-native-ohos/react-native-calendar-events@2.2.1,已适配codegen-lib生成桥接代码。 - -本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](https://gitee.com/react-native-oh-library/usage-docs/blob/master/zh-cn/codegen.md)。 +本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/react-native-calendar-events@2.2.1,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~2.3.0 | No | 0.77 | +| ~2.2.1 | Yes | 0.72 | +| <= 2.2.0-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 字段 @@ -361,8 +367,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-callkeep.md b/zh-cn/react-native-callkeep.md index 7f6e46f16d817cb1e289e2069ad13c88c40af847..74fda7b5f377b90d1cb0b3898bbce92c865ee12e 100644 --- a/zh-cn/react-native-callkeep.md +++ b/zh-cn/react-native-callkeep.md @@ -24,7 +24,7 @@ | 三方库版本 | 发布信息 | 支持RN版本 | |------------------| ------------------------------------------------------------ | ---------- | -| <= 4.3.14-0.0.1 | [@react-native-oh-tpl/react-native-callkeep Releases(deprecated)](https://github.com/react-native-oh-library/react-native-callkeep/releases) | 0.72 | +| <= 4.3.14-0.0.1@deprecated | [@react-native-oh-tpl/react-native-callkeep Releases(deprecated)](https://github.com/react-native-oh-library/react-native-callkeep/releases) | 0.72 | | 4.3.15 | [@react-native-ohos/react-native-callkeep Releases](https://github.com/react-native-oh-library/react-native-callkeep/releases) | 0.72 | 对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 @@ -101,17 +101,22 @@ export function CallKeepExample() { ``` ## 使用 Codegen -Version >= @react-native-ohos/react-native-callkeep@4.3.15,已适配codegen-lib生成桥接代码。 - 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/react-native-callkeep@4.3.15,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~4.3.15 | Yes | 0.72 | +| <= 4.3.14-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 打开项目里的 HarmonyOS 工程 `harmony` +首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。 ### 在工程根目录的 `oh-package.json5` 添加 overrides字段 @@ -221,8 +226,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-worklets-core.md b/zh-cn/react-native-worklets-core.md index 4aeafe1ddb488b4bfc8bbe3a2802e69a9bfe24da..9be394792d5622ab42bee2ff679e4214e99322d2 100644 --- a/zh-cn/react-native-worklets-core.md +++ b/zh-cn/react-native-worklets-core.md @@ -103,11 +103,19 @@ export default App; ## Link -Version >= @react-native-ohos/react-native-worklets-core@1.3.4,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~1.5.1 | No | 0.77 | +| ~1.3.4 | Yes | 0.72 | +| <= 1.3.3-0.0.4@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 字段 @@ -225,8 +233,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮 diff --git a/zh-cn/react-native-zip-archive.md b/zh-cn/react-native-zip-archive.md index e1851e717181abadbc75b5bf1befbc1fb38faf77..b1b01ab20c4f3966a313a522b83a9fe9a23864a9 100644 --- a/zh-cn/react-native-zip-archive.md +++ b/zh-cn/react-native-zip-archive.md @@ -414,17 +414,23 @@ const styles = StyleSheet.create({ ## 使用 Codegen -Version >= @react-native-ohos/react-native-zip-archive@6.1.2,已适配codegen-lib生成桥接代码。 - 本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。 ## Link -Version >= @react-native-ohos/react-native-zip-archive@6.1.2,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md +| | 是否支持autolink | RN框架版本 | +|--------------------------------------|-----------------|------------| +| ~7.1.0 | No | 0.77 | +| ~6.1.2 | Yes | 0.72 | +| <= 6.1.1-0.1.0@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 字段 @@ -555,8 +561,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ]; } ``` +
-### 5.运行 +## 运行 点击右上角的 `sync` 按钮