From d6660386b99ab61c6e06278de6e76c6d7d9152a3 Mon Sep 17 00:00:00 2001
From: "@xobear-king" <2658469835@qq.com>
Date: Fri, 12 Dec 2025 17:47:04 +0800
Subject: [PATCH 01/12] =?UTF-8?q?fix:=20update=2016=E4=B8=AA=E4=B8=AD?=
=?UTF-8?q?=E8=8B=B1=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
en/react-native-pdf.md | 18 ++++++++----
en/react-native-performance.md | 21 +++++++++-----
en/react-native-permissions.md | 19 +++++++++----
en/react-native-picker-picker.md | 20 ++++++++++----
en/react-native-picker.md | 16 +++++++++--
en/react-native-print.md | 19 +++++++++----
en/react-native-qr-decode-image-camera.md | 23 ++++++++++------
en/react-native-quick-base64.md | 19 +++++++++----
en/react-native-randombytes.md | 19 +++++++++----
en/react-native-reanimated.md | 16 +++++++++--
en/react-native-restart.md | 29 +++++++++++++++++---
en/react-native-safe-area-context.md | 16 +++++++++--
en/react-native-screenshot-prevent.md | 18 ++++++++----
en/react-native-search-bar.md | 17 +++++++++---
en/react-native-securerandom.md | 19 +++++++++----
en/shopify-flash-list.md | 17 +++++++++---
zh-cn/react-native-pdf.md | 20 ++++++++++----
zh-cn/react-native-performance.md | 23 ++++++++++------
zh-cn/react-native-permissions.md | 16 +++++++++--
zh-cn/react-native-picker-picker.md | 20 ++++++++++----
zh-cn/react-native-picker.md | 18 +++++++++---
zh-cn/react-native-print.md | 17 ++++++++----
zh-cn/react-native-qr-decode-image-camera.md | 22 ++++++++++-----
zh-cn/react-native-quick-base64.md | 18 +++++++++---
zh-cn/react-native-randombytes.md | 19 +++++++++----
zh-cn/react-native-reanimated.md | 16 +++++++++--
zh-cn/react-native-restart.md | 29 +++++++++++++++++---
zh-cn/react-native-safe-area-context.md | 16 +++++++++--
zh-cn/react-native-screenshot-prevent.md | 19 +++++++++----
zh-cn/react-native-search-bar.md | 16 +++++++++--
zh-cn/react-native-securerandom.md | 21 +++++++++-----
zh-cn/shopify-flash-list.md | 16 +++++++++--
32 files changed, 454 insertions(+), 158 deletions(-)
diff --git a/en/react-native-pdf.md b/en/react-native-pdf.md
index f424e801e..a16343445 100644
--- a/en/react-native-pdf.md
+++ b/en/react-native-pdf.md
@@ -95,15 +95,21 @@ const styles = StyleSheet.create({
## Use Codegen
-Version >= @react-native-ohos/react-native-pdf@6.7.5, 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).
## Link
-Version >= @react-native-ohos/react-native-pdf@6.7.5 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 supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~6.8.0 | No | 0.77 |
+| ~6.7.5 | Yes | 0.72 |
+| <= 6.7.4-0.3.6@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.
@@ -246,7 +252,9 @@ const arkTsComponentNames: Array = [
];
```
-### 5. Running
+
+
+## Running
Click the `sync` button in the upper right corner.
diff --git a/en/react-native-performance.md b/en/react-native-performance.md
index 131871171..bf35f969e 100644
--- a/en/react-native-performance.md
+++ b/en/react-native-performance.md
@@ -66,7 +66,7 @@ import {
import performance, {
PerformanceObserver,
setResourceLoggingEnabled,
-} from "@react-native-ohos/react-native-performance";
+} from "react-native-performance";
export function TestNativePerformance() {
const [result1, setResult1] = React.useState(0);
const [result2, setResult2] = React.useState("");
@@ -207,16 +207,21 @@ const styles = StyleSheet.create({
## Use Codegen
-Version >= @react-native-ohos/react-native-performance@5.1.3, 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).
## Link
-Version >= @react-native-ohos/react-native-performance@5.1.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 supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~5.2.0 | No | 0.77 |
+| ~5.1.3 | Yes | 0.72 |
+| <= 5.1.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.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -339,7 +344,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-permissions.md b/en/react-native-permissions.md
index 90d00b6f5..f9ca97fb5 100644
--- a/en/react-native-permissions.md
+++ b/en/react-native-permissions.md
@@ -53,7 +53,7 @@ The following code shows the basic use scenario of the repository:
```js
import { ScrollView, StyleSheet, View, Text, Button } from "react-native";
import React from "react";
-import RTNPermissions, { Permission } from "@react-native-ohos/react-native-permissions";
+import RTNPermissions, { Permission } from "react-native-permissions";
const permissionNormal: Permission[] = [
"ohos.permission.APPROXIMATELY_LOCATION",
@@ -126,10 +126,17 @@ const styles = StyleSheet.create({
## Link
-Version >= @react-native-ohos/react-native-permissions@4.1.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/en/Autolinking.md
+| | is supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~5.3.1 | No | 0.77 |
+| ~4.1.3 | Yes | 0.72 |
+| <= 4.1.2-0.1.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
+
+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.
@@ -249,7 +256,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-picker-picker.md b/en/react-native-picker-picker.md
index c84323a34..9f296cf59 100644
--- a/en/react-native-picker-picker.md
+++ b/en/react-native-picker-picker.md
@@ -50,7 +50,7 @@ The following code shows the basic use scenario of the repository:
```js
import * as React from "react";
-import { Picker } from "@react-native-picker/picker";
+import { Picker } from "picker";
import { View } from "react-native";
export const PickerExample = ()=>{
@@ -71,15 +71,21 @@ export const PickerExample = ()=>{
## Use Codegen
-Version >= @react-native-ohos/picker@2.6.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).
## Link
-Version >= @react-native-ohos/picker@2.6.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 supporte autolink | Supported RN Version |
+|--------------------------------|-----------------------|----------------------|
+| ~2.11.2 | No | 0.77 |
+| ~2.6.4 | Yes | 0.72 |
+| <= 2.6.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.
@@ -238,7 +244,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-picker.md b/en/react-native-picker.md
index 7d10b8b7f..fd8401755 100644
--- a/en/react-native-picker.md
+++ b/en/react-native-picker.md
@@ -120,9 +120,17 @@ export default MyPicker;
## Link
-Version >= @react-native-ohos/react-native-picker@4.3.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 supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~4.4.0 | No | 0.77 |
+| ~4.3.10 | Yes | 0.72 |
+| <= 4.3.9-0.0.8@deprecated | No | 0.72 |
-This step provides guidance for manually configuring native dependencies.
+Using AutoLink need to be configured according to this document, Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+If the version you use supports Autolink and the project has been connected to Autolink, skip the ManualLink configuration.
+
+ ManualLink: this step is a guide to manually configure native dependencies.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -243,7 +251,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-print.md b/en/react-native-print.md
index 73abf54e9..a988ca017 100644
--- a/en/react-native-print.md
+++ b/en/react-native-print.md
@@ -118,16 +118,21 @@ export default function RNPrint(): JSX.Element {
## Use Codegen
-Version >= @react-native-ohos/react-native-print@0.11.1, The codegen-lib has been adapted to generate 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](/zh-cn/codegen.md).
## Link
-Version >= @react-native-ohos/react-native-print@0.11.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 supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~0.12.0 | No | 0.77 |
+| ~0.11.1 | Yes | 0.72 |
+| <= 0.11.0-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.
@@ -249,7 +254,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-qr-decode-image-camera.md b/en/react-native-qr-decode-image-camera.md
index 754b66789..ccc291378 100644
--- a/en/react-native-qr-decode-image-camera.md
+++ b/en/react-native-qr-decode-image-camera.md
@@ -149,20 +149,25 @@ const styles = StyleSheet.create({
## Use Codegen
-Version >= @react-native-ohos/react-native-qr-decode-image-camera@1.1.5,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).
## Link
-Version >= @react-native-ohos/react-native-qr-decode-image-camera@1.1.5 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 supporte autolink | Supported RN Version |
+|--------------------------------|-----------------------|----------------------|
+| ~1.2.0 | No | 0.77 |
+| ~1.1.5 | Yes | 0.72 |
+| <= 1.1.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
-The HarmonyOS implementation of this library depends on the native code from @react-native-ohos/react-native-vision-camera. If this library is included into your HarmonyOS application, there is no need to include it again; you can skip the steps in this section and use it directly.
+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.
-If it is not included, follow the guide provided in @react-native-ohos/react-native-vision-camera to add it to your project.
+First, use DevEco Studio to open the HarmonyOS project `harmony` in the project directory.
-This step provides guidance for manually configuring native dependencies.
+If it is not included, please refer to [@react-native-ohos/react-native-vision-camera](/zh-cn/react-native-vision-camera.md) for instructions on how to include it.
## 1. Adding the overrides Field to oh-package.json5 File in the Root Directory of the Project
@@ -312,7 +317,9 @@ std::vector> PackageProvider::getPackages(Package::Cont
}
```
-### 6. Run
+
+
+## Running
Click the `sync` button in the top right corner
diff --git a/en/react-native-quick-base64.md b/en/react-native-quick-base64.md
index fa9243da9..a8931c34c 100644
--- a/en/react-native-quick-base64.md
+++ b/en/react-native-quick-base64.md
@@ -52,7 +52,7 @@ The following code shows the basic use scenario of the repository:
import React, { useState } from 'react';
import { Text, View, TextInput, ScrollView, StyleSheet, Button } from 'react-native';
-import { byteLength, btoa, atob, toByteArray, fromByteArray, getNative, trimBase64Padding, shim } from '@react-native-ohos/react-native-quick-base64';
+import { byteLength, btoa, atob, toByteArray, fromByteArray, getNative, trimBase64Padding, shim } from 'react-native-quick-base64';
type FuncBase64ToArrayBuffer = (
data: string,
@@ -387,10 +387,17 @@ const styles = StyleSheet.create({
## Link
-Version >= @react-native-ohos/react-native-quick-base64@2.1.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 supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~2.2.0 | No | 0.77 |
+| ~2.1.3 | Yes | 0.72 |
+| <= 2.1.2-1.0.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
+
+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.
@@ -510,7 +517,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-randombytes.md b/en/react-native-randombytes.md
index c87c9b7b0..4479e12bb 100644
--- a/en/react-native-randombytes.md
+++ b/en/react-native-randombytes.md
@@ -109,16 +109,21 @@ const styles = StyleSheet.create({
## Use Codegen
-Version >= @react-native-ohos/react-native-randombytes@3.6.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).
## Link
-Version >= @react-native-ohos/react-native-randombytes@3.6.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 supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~3.7.0 | No | 0.77 |
+| ~3.6.2 | Yes | 0.72 |
+| <= 3.6.1-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.
@@ -241,7 +246,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-reanimated.md b/en/react-native-reanimated.md
index cb659bd54..5250c7527 100644
--- a/en/react-native-reanimated.md
+++ b/en/react-native-reanimated.md
@@ -122,9 +122,17 @@ export default function App() {
## Link
-Version >= @react-native-ohos/react-native-reanimated@3.6.5 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 supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~3.18.1 | No | 0.77 |
+| ~3.6.5 | Yes | 0.72 |
+| <= 3.6.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
+
+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.
@@ -239,7 +247,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-restart.md b/en/react-native-restart.md
index aeaf2b1f1..ef313aac2 100644
--- a/en/react-native-restart.md
+++ b/en/react-native-restart.md
@@ -87,15 +87,21 @@ const styles = StyleSheet.create({
## Use Codegen
-Version >= @react-native-ohos/react-native-restart@0.0.28, 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).
## Link
-Version >= @react-native-ohos/react-native-restart@0.0.28 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 supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~0.1.0 | No | 0.77 |
+| ~0.0.28 | Yes | 0.72 |
+| <= 0.0.27-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.
### 1.Open `entry/oh-package.json5` file and add the following dependencies:
@@ -220,6 +226,21 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
+
+
+## Running
+
+Click the `sync` button in the upper right corner.
+
+Alternatively, run the following instruction on the terminal:
+
+```bash
+cd entry
+ohpm install
+```
+
+Then build and run the code.
+
## Constraints
### Compatibility
diff --git a/en/react-native-safe-area-context.md b/en/react-native-safe-area-context.md
index 4bcfa193b..9e1aa6ed0 100644
--- a/en/react-native-safe-area-context.md
+++ b/en/react-native-safe-area-context.md
@@ -74,9 +74,17 @@ export default App;
## Link
-Version >= @react-native-ohos/react-native-safe-area-context@4.7.5 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 supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~5.1.1 | No | 0.77 |
+| ~4.7.5 | Yes | 0.72 |
+| <= 4.7.4-0.2.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
+
+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.
@@ -204,7 +212,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5. Run
+
+
+## Running
Click the `sync` button in the top right corner.
diff --git a/en/react-native-screenshot-prevent.md b/en/react-native-screenshot-prevent.md
index 920711768..9b76cd55d 100644
--- a/en/react-native-screenshot-prevent.md
+++ b/en/react-native-screenshot-prevent.md
@@ -76,15 +76,21 @@ useEffect(() => {
## Use Codegen
-Version >= @react-native-ohos/react-native-screenshot-prevent@1.2.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).
## Link
-Version >= @react-native-ohos/react-native-screenshot-prevent@1.2.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 supporte autolink | Supported RN Version |
+|------------------------------------|-----------------------|----------------------|
+| ~1.3.0 | No | 0.77 |
+| ~1.2.2 | Yes | 0.72 |
+| <= 1.2.1-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.
@@ -206,7 +212,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-search-bar.md b/en/react-native-search-bar.md
index 8d4bbc360..76aaa0ad2 100644
--- a/en/react-native-search-bar.md
+++ b/en/react-native-search-bar.md
@@ -111,10 +111,17 @@ export default SearchBarDemo;
## Link
-Version >= @react-native-ohos/react-native-search-bar@3.5.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 supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~3.6.0 | No | 0.77 |
+| ~3.0.10 | Yes | 0.72 |
+| <= 3.5.1-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
+
+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.
@@ -247,7 +254,9 @@ const arkTsComponentNames: Array = [
];
```
-### 5.Running
+
+
+## Running
Click the `sync` button in the upper right corner.
diff --git a/en/react-native-securerandom.md b/en/react-native-securerandom.md
index 4537cbdf2..87fb98daf 100644
--- a/en/react-native-securerandom.md
+++ b/en/react-native-securerandom.md
@@ -117,16 +117,21 @@ const styles = StyleSheet.create({
### Use Codegen
-Version >= @react-native-ohos/react-native-securerandom@1.0.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).
## Link
-Version >= @react-native-ohos/react-native-securerandom@1.0.2 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks.
-Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | is supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~1.1.0 | No | 0.77 |
+| ~1.0.2 | Yes | 0.72 |
+| <= 1.0.1-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.
@@ -248,7 +253,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5. Running
+
+
+## Running
Click the `sync` button in the upper right corner.
diff --git a/en/shopify-flash-list.md b/en/shopify-flash-list.md
index 132b9a7a4..908b8a473 100644
--- a/en/shopify-flash-list.md
+++ b/en/shopify-flash-list.md
@@ -71,10 +71,17 @@ const MyList = () => {
## Link
-Version >= @react-native-ohos/flash-list@1.6.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 supporte autolink | Supported RN Version |
+|--------------------------------------|-----------------------|----------------------|
+| ~1.8.3 | No | 0.77 |
+| ~1.6.4 | Yes | 0.72 |
+| <= 1.6.3-0.2.9@deprecated | No | 0.72 |
-This step provides guidance for manually configuring native dependencies.
+Using AutoLink need to be configured according to this document, Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+If the version you use supports Autolink and the project has been connected to Autolink, skip the ManualLink configuration.
+
+ ManualLink: this step is a guide to manually configure native dependencies.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -181,7 +188,9 @@ std::vector> PackageProvider::getPackages(Package::Cont
}
```
-### 4. Running
+
+
+## Running
Click the `sync` button in the upper right corner.
diff --git a/zh-cn/react-native-pdf.md b/zh-cn/react-native-pdf.md
index d84c84234..4fad3950f 100644
--- a/zh-cn/react-native-pdf.md
+++ b/zh-cn/react-native-pdf.md
@@ -95,17 +95,23 @@ const styles = StyleSheet.create({
## 使用 Codegen
-Version >= @react-native-ohos/react-native-pdf@6.7.5,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-pdf@6.7.5,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~6.8.0 | No | 0.77 |
+| ~6.7.5 | Yes | 0.72 |
+| <= 6.7.4-0.3.6@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 字段
@@ -246,7 +252,9 @@ const arkTsComponentNames: Array = [
];
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-performance.md b/zh-cn/react-native-performance.md
index d06f3ed35..a15df30eb 100644
--- a/zh-cn/react-native-performance.md
+++ b/zh-cn/react-native-performance.md
@@ -58,7 +58,7 @@ import {
StatusBar,
TouchableOpacity
} from 'react-native';
-import performance,{PerformanceObserver,setResourceLoggingEnabled} from '@react-native-ohos/react-native-performance'
+import performance,{PerformanceObserver,setResourceLoggingEnabled} from 'react-native-performance'
export function TestNativePerformance() {
const [result1, setResult1] = React.useState(0)
const [result2, setResult2] = React.useState('')
@@ -203,18 +203,23 @@ const styles = StyleSheet.create({
```
## 使用 Codegen
-Version >= @react-native-ohos/react-native-performance@5.1.3,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-performance@5.1.3,已支持 Autolink,无需手动配置,目前只支持72框架。
-Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~5.2.0 | No | 0.77 |
+| ~5.1.3 | Yes | 0.72 |
+| <= 5.1.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 打开项目里的鸿蒙工程 `harmony`
+首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。
### 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段
@@ -338,7 +343,9 @@ std::vector> PackageProvider::getPackages(Package::Cont
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-permissions.md b/zh-cn/react-native-permissions.md
index 96d1520a4..04299c238 100644
--- a/zh-cn/react-native-permissions.md
+++ b/zh-cn/react-native-permissions.md
@@ -51,7 +51,7 @@ yarn add @react-native-ohos/react-native-permissions
```js
import { ScrollView, StyleSheet, View, Text, Button } from "react-native";
import React from "react";
-import RTNPermissions, { Permission } from "@react-native-ohos/react-native-permissions";
+import RTNPermissions, { Permission } from "react-native-permissions";
const permissionNormal: Permission[] = [
"ohos.permission.APPROXIMATELY_LOCATION",
@@ -124,9 +124,17 @@ const styles = StyleSheet.create({
## Link
-Version >= @react-native-ohos/react-native-permissions@4.1.3,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~5.3.1 | No | 0.77 |
+| ~4.1.3 | Yes | 0.72 |
+| <= 4.1.2-0.1.7@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`
@@ -254,6 +262,8 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
+
+
### 5.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-picker-picker.md b/zh-cn/react-native-picker-picker.md
index de7ab37a2..76d169654 100644
--- a/zh-cn/react-native-picker-picker.md
+++ b/zh-cn/react-native-picker-picker.md
@@ -50,7 +50,7 @@ yarn add @react-native-ohos/picker
```js
import * as React from "react";
-import { Picker } from "@react-native-picker/picker";
+import { Picker } from "picker";
import { View } from "react-native";
@@ -72,15 +72,21 @@ export const PickerExample = ()=>{
## 使用 Codegen
-Version >= @react-native-ohos/picker@2.6.4,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/picker@2.6.4,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~2.11.2 | No | 0.77 |
+| ~2.6.4 | Yes | 0.72 |
+| <= 2.6.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`
@@ -243,7 +249,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-picker.md b/zh-cn/react-native-picker.md
index 2ea7ba5e4..f773b8683 100644
--- a/zh-cn/react-native-picker.md
+++ b/zh-cn/react-native-picker.md
@@ -119,10 +119,17 @@ export default MyPicker;
```
## Link
-Version >= @react-native-ohos/react-native-picker@4.3.10,已支持 Autolink,无需手动配置,目前只支持72框架。
-Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~4.4.0 | No | 0.77 |
+| ~4.3.10 | Yes | 0.72 |
+| <= 4.3.9-0.0.8@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`
@@ -243,7 +250,10 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
];
}
```
-### 5.运行
+
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-print.md b/zh-cn/react-native-print.md
index 73e79bdc9..e23455a21 100644
--- a/zh-cn/react-native-print.md
+++ b/zh-cn/react-native-print.md
@@ -118,16 +118,21 @@ export default function RNPrint(): JSX.Element {
## 使用 Codegen
-Version >= @react-native-ohos/react-native-print@0.11.1,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-print@0.11.1,已支持 Autolink,无需手动配置,目前只支持72框架。
-Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~0.12.0 | No | 0.77 |
+| ~0.11.1 | Yes | 0.72 |
+| <= 0.11.0-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`
@@ -252,6 +257,8 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
+
+
### 5.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-qr-decode-image-camera.md b/zh-cn/react-native-qr-decode-image-camera.md
index ada999792..c40af02b5 100644
--- a/zh-cn/react-native-qr-decode-image-camera.md
+++ b/zh-cn/react-native-qr-decode-image-camera.md
@@ -148,19 +148,25 @@ const styles = StyleSheet.create({
## 使用 Codegen
-Version >= @react-native-ohos/react-native-qr-decode-image-camera@1.1.5,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-qr-decode-image-camera@1.1.5,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------|-----------------|------------|
+| ~1.2.0 | No | 0.77 |
+| ~1.1.5 | Yes | 0.72 |
+| <= 1.1.4@deprecated | No | 0.72 |
-本库鸿蒙侧实现依赖@react-native-ohos/react-native-vision-camera 的原生端代码,如已在鸿蒙工程中引入过该库,则无需再次引入,可跳过本章节步骤,直接使用。
+使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-如未引入请参照[@react-native-ohos/react-native-vision-camera](/zh-cn/react-native-vision-camera.md)进行引入
+如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。
+
+ ManualLink: 此步骤为手动配置原生依赖项的指导
-此步骤为手动配置原生依赖项的指导。
+首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。
+
+如未引入请参照[@react-native-ohos/react-native-vision-camera](/zh-cn/react-native-vision-camera.md)进行引入
## 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段
@@ -319,7 +325,9 @@ std::vector> PackageProvider::getPackages(Package::Cont
}
```
-### 6.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-quick-base64.md b/zh-cn/react-native-quick-base64.md
index edc25e159..50f22ec9a 100644
--- a/zh-cn/react-native-quick-base64.md
+++ b/zh-cn/react-native-quick-base64.md
@@ -52,7 +52,7 @@ yarn add @react-native-ohos/react-native-quick-base64
import React, { useState } from 'react';
import { Text, View, TextInput, ScrollView, StyleSheet, Button } from 'react-native';
-import { byteLength, btoa, atob, toByteArray, fromByteArray, getNative, trimBase64Padding, shim } from '@react-native-ohos/react-native-quick-base64';
+import { byteLength, btoa, atob, toByteArray, fromByteArray, getNative, trimBase64Padding, shim } from 'react-native-quick-base64';
type FuncBase64ToArrayBuffer = (
data: string,
removeLinebreaks?: boolean
@@ -418,9 +418,17 @@ const styles = StyleSheet.create({
## Link
-Version >= @react-native-ohos/react-native-quick-base64@2.1.3,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|------------------------------------|-----------------|------------|
+| ~2.2.0 | No | 0.77 |
+| ~2.1.3 | Yes | 0.72 |
+| <= 2.1.2-1.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`
@@ -543,7 +551,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-randombytes.md b/zh-cn/react-native-randombytes.md
index a21de7414..339a948e1 100644
--- a/zh-cn/react-native-randombytes.md
+++ b/zh-cn/react-native-randombytes.md
@@ -111,16 +111,21 @@ const styles = StyleSheet.create({
## 使用 Codegen(如本库已适配了 Codegen )
-Version >= @react-native-ohos/react-native-randombytes@3.6.2,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-randombytes@3.6.2,已支持 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.2 | Yes | 0.72 |
+| <= 3.6.1-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`
@@ -246,7 +251,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-reanimated.md b/zh-cn/react-native-reanimated.md
index cc260301e..854cc5d08 100644
--- a/zh-cn/react-native-reanimated.md
+++ b/zh-cn/react-native-reanimated.md
@@ -122,9 +122,17 @@ export default function App() {
## Link
-Version >= @react-native-ohos/react-native-reanimated@3.6.5,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~3.18.1 | No | 0.77 |
+| ~3.6.5 | Yes | 0.72 |
+| <= 3.6.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`
@@ -242,7 +250,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-restart.md b/zh-cn/react-native-restart.md
index e7923f8b1..a220b864f 100644
--- a/zh-cn/react-native-restart.md
+++ b/zh-cn/react-native-restart.md
@@ -87,15 +87,21 @@ const styles = StyleSheet.create({
## 使用 Codegen
-Version >= @react-native-ohos/react-native-restart@0.0.28,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-restart@0.0.28,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~0.1.0 | No | 0.77 |
+| ~0.0.28 | Yes | 0.72 |
+| <= 0.0.27-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`
### 1.在工程根目录的 `oh-package.json5` 添加 overrides字段
@@ -220,6 +226,21 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
+
+
+## 运行
+
+点击右上角的 `sync` 按钮
+
+或者在终端执行:
+
+```bash
+cd entry
+ohpm install
+```
+
+然后编译、运行即可。
+
## 约束与限制
### 兼容性
diff --git a/zh-cn/react-native-safe-area-context.md b/zh-cn/react-native-safe-area-context.md
index 453c22efb..177f306fd 100644
--- a/zh-cn/react-native-safe-area-context.md
+++ b/zh-cn/react-native-safe-area-context.md
@@ -74,9 +74,17 @@ export default App;
## Link
-Version >= @react-native-ohos/react-native-safe-area-context@4.7.5,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~5.1.1 | No | 0.77 |
+| ~4.7.5 | Yes | 0.72 |
+| <= 4.7.4-0.2.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`
@@ -204,7 +212,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-screenshot-prevent.md b/zh-cn/react-native-screenshot-prevent.md
index d570c210f..468183036 100644
--- a/zh-cn/react-native-screenshot-prevent.md
+++ b/zh-cn/react-native-screenshot-prevent.md
@@ -74,16 +74,21 @@ useEffect(() => {
## 使用 Codegen
-Version >= @react-native-ohos/react-native-screenshot-prevent@1.2.2,已适配 codegen-lib 生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-screenshot-prevent@1.2.2,已支持 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.2 | Yes | 0.72 |
+| <= 1.2.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 打开项目里的鸿蒙工程 `harmony`
@@ -209,7 +214,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-search-bar.md b/zh-cn/react-native-search-bar.md
index 61e53e95e..4e49e57dd 100644
--- a/zh-cn/react-native-search-bar.md
+++ b/zh-cn/react-native-search-bar.md
@@ -110,9 +110,17 @@ export default SearchBarDemo;
## Link
-Version >= @react-native-ohos/react-native-search-bar@3.5.2,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|--------------|----------|
+| ~3.6.0 | No | 0.77 |
+| ~3.0.10 | Yes | 0.72 |
+| <= 3.5.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`
@@ -247,7 +255,9 @@ const arkTsComponentNames: Array = [
];
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-securerandom.md b/zh-cn/react-native-securerandom.md
index a02bb8343..743c07c36 100644
--- a/zh-cn/react-native-securerandom.md
+++ b/zh-cn/react-native-securerandom.md
@@ -88,18 +88,23 @@ const styles = StyleSheet.create({
btnText: { fontWeight: 'bold', color: '#fff', fontSize: 20 }
});
```
-### 使用 Codegen
-
-Version >= @react-native-ohos/react-native-securerandom@1.0.2,已适配codegen-lib生成桥接代码。
+### 使用 Codegen
本库已经适配了 Codegen ,在使用前需要主动执行生成三方库桥接代码,详细请参考 [Codegen](/zh-cn/link-source-code.md) 使用文档。
## Link
-Version >= @react-native-ohos/react-native-securerandom@1.0.2,已支持 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.2 | Yes | 0.72 |
+| <= 1.0.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`
@@ -224,7 +229,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/shopify-flash-list.md b/zh-cn/shopify-flash-list.md
index 2f8e55f75..e04bd9b40 100644
--- a/zh-cn/shopify-flash-list.md
+++ b/zh-cn/shopify-flash-list.md
@@ -71,9 +71,17 @@ const MyList = () => {
## Link
-Version >= @react-native-ohos/flash-list@1.6.4,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~1.8.3 | No | 0.77 |
+| ~1.6.4 | Yes | 0.72 |
+| <= 1.6.3-0.2.9@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`
@@ -183,7 +191,9 @@ std::vector> PackageProvider::getPackages(Package::Cont
}
```
-### 4.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
--
Gitee
From eb582e08d005142c95ed8623e42c3a96bf4f4ffa Mon Sep 17 00:00:00 2001
From: "@xobear-king" <2658469835@qq.com>
Date: Fri, 12 Dec 2025 18:15:43 +0800
Subject: [PATCH 02/12] =?UTF-8?q?docs:=20[Issues:=20#IDCP4M]=20=E4=B8=89?=
=?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?=
=?UTF-8?q?=E9=9C=80=E6=B1=82=E6=96=87=E6=A1=A3=E6=95=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
en/react-native-pdf.md | 2 +-
en/react-native-performance.md | 2 +-
en/react-native-permissions.md | 2 +-
en/react-native-picker-picker.md | 2 +-
en/react-native-picker.md | 2 +-
en/react-native-print.md | 2 +-
en/react-native-qr-decode-image-camera.md | 2 +-
en/react-native-quick-base64.md | 2 +-
en/react-native-randombytes.md | 2 +-
en/react-native-reanimated.md | 2 +-
en/react-native-restart.md | 2 +-
en/react-native-safe-area-context.md | 2 +-
en/react-native-screenshot-prevent.md | 2 +-
en/react-native-search-bar.md | 2 +-
en/react-native-securerandom.md | 2 +-
en/shopify-flash-list.md | 2 +-
16 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/en/react-native-pdf.md b/en/react-native-pdf.md
index a16343445..841f17b4b 100644
--- a/en/react-native-pdf.md
+++ b/en/react-native-pdf.md
@@ -99,7 +99,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~6.8.0 | No | 0.77 |
| ~6.7.5 | Yes | 0.72 |
diff --git a/en/react-native-performance.md b/en/react-native-performance.md
index bf35f969e..c22b98ca1 100644
--- a/en/react-native-performance.md
+++ b/en/react-native-performance.md
@@ -211,7 +211,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~5.2.0 | No | 0.77 |
| ~5.1.3 | Yes | 0.72 |
diff --git a/en/react-native-permissions.md b/en/react-native-permissions.md
index f9ca97fb5..83c90b17d 100644
--- a/en/react-native-permissions.md
+++ b/en/react-native-permissions.md
@@ -126,7 +126,7 @@ const styles = StyleSheet.create({
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~5.3.1 | No | 0.77 |
| ~4.1.3 | Yes | 0.72 |
diff --git a/en/react-native-picker-picker.md b/en/react-native-picker-picker.md
index 9f296cf59..faa9d02f8 100644
--- a/en/react-native-picker-picker.md
+++ b/en/react-native-picker-picker.md
@@ -75,7 +75,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------|-----------------------|----------------------|
| ~2.11.2 | No | 0.77 |
| ~2.6.4 | Yes | 0.72 |
diff --git a/en/react-native-picker.md b/en/react-native-picker.md
index fd8401755..7b9d06ffe 100644
--- a/en/react-native-picker.md
+++ b/en/react-native-picker.md
@@ -120,7 +120,7 @@ export default MyPicker;
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~4.4.0 | No | 0.77 |
| ~4.3.10 | Yes | 0.72 |
diff --git a/en/react-native-print.md b/en/react-native-print.md
index a988ca017..d91a96226 100644
--- a/en/react-native-print.md
+++ b/en/react-native-print.md
@@ -122,7 +122,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~0.12.0 | No | 0.77 |
| ~0.11.1 | Yes | 0.72 |
diff --git a/en/react-native-qr-decode-image-camera.md b/en/react-native-qr-decode-image-camera.md
index ccc291378..cdf190620 100644
--- a/en/react-native-qr-decode-image-camera.md
+++ b/en/react-native-qr-decode-image-camera.md
@@ -153,7 +153,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------|-----------------------|----------------------|
| ~1.2.0 | No | 0.77 |
| ~1.1.5 | Yes | 0.72 |
diff --git a/en/react-native-quick-base64.md b/en/react-native-quick-base64.md
index a8931c34c..9103d57e9 100644
--- a/en/react-native-quick-base64.md
+++ b/en/react-native-quick-base64.md
@@ -387,7 +387,7 @@ const styles = StyleSheet.create({
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~2.2.0 | No | 0.77 |
| ~2.1.3 | Yes | 0.72 |
diff --git a/en/react-native-randombytes.md b/en/react-native-randombytes.md
index 4479e12bb..eddb71c29 100644
--- a/en/react-native-randombytes.md
+++ b/en/react-native-randombytes.md
@@ -113,7 +113,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~3.7.0 | No | 0.77 |
| ~3.6.2 | Yes | 0.72 |
diff --git a/en/react-native-reanimated.md b/en/react-native-reanimated.md
index 5250c7527..79c40edc0 100644
--- a/en/react-native-reanimated.md
+++ b/en/react-native-reanimated.md
@@ -122,7 +122,7 @@ export default function App() {
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~3.18.1 | No | 0.77 |
| ~3.6.5 | Yes | 0.72 |
diff --git a/en/react-native-restart.md b/en/react-native-restart.md
index ef313aac2..46a91f923 100644
--- a/en/react-native-restart.md
+++ b/en/react-native-restart.md
@@ -91,7 +91,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~0.1.0 | No | 0.77 |
| ~0.0.28 | Yes | 0.72 |
diff --git a/en/react-native-safe-area-context.md b/en/react-native-safe-area-context.md
index 9e1aa6ed0..ca8e41b41 100644
--- a/en/react-native-safe-area-context.md
+++ b/en/react-native-safe-area-context.md
@@ -74,7 +74,7 @@ export default App;
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~5.1.1 | No | 0.77 |
| ~4.7.5 | Yes | 0.72 |
diff --git a/en/react-native-screenshot-prevent.md b/en/react-native-screenshot-prevent.md
index 9b76cd55d..2466299d0 100644
--- a/en/react-native-screenshot-prevent.md
+++ b/en/react-native-screenshot-prevent.md
@@ -80,7 +80,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|------------------------------------|-----------------------|----------------------|
| ~1.3.0 | No | 0.77 |
| ~1.2.2 | Yes | 0.72 |
diff --git a/en/react-native-search-bar.md b/en/react-native-search-bar.md
index 76aaa0ad2..ed1dee055 100644
--- a/en/react-native-search-bar.md
+++ b/en/react-native-search-bar.md
@@ -111,7 +111,7 @@ export default SearchBarDemo;
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~3.6.0 | No | 0.77 |
| ~3.0.10 | Yes | 0.72 |
diff --git a/en/react-native-securerandom.md b/en/react-native-securerandom.md
index 87fb98daf..8d847bff0 100644
--- a/en/react-native-securerandom.md
+++ b/en/react-native-securerandom.md
@@ -121,7 +121,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~1.1.0 | No | 0.77 |
| ~1.0.2 | Yes | 0.72 |
diff --git a/en/shopify-flash-list.md b/en/shopify-flash-list.md
index 908b8a473..c96a0010f 100644
--- a/en/shopify-flash-list.md
+++ b/en/shopify-flash-list.md
@@ -71,7 +71,7 @@ const MyList = () => {
## Link
-| | is supporte autolink | Supported RN Version |
+| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~1.8.3 | No | 0.77 |
| ~1.6.4 | Yes | 0.72 |
--
Gitee
From 8ffe10280d6b7cb5490fb7958d29d8e794a31f94 Mon Sep 17 00:00:00 2001
From: "@xobear-king" <2658469835@qq.com>
Date: Sat, 13 Dec 2025 09:44:36 +0800
Subject: [PATCH 03/12] =?UTF-8?q?docs:=20[Issues:=20#IDCP4M]=20=E4=B8=89?=
=?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?=
=?UTF-8?q?=E9=9C=80=E6=B1=82=E6=96=87=E6=A1=A3=E6=95=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
en/react-native-pdf.md | 2 +-
en/react-native-performance.md | 2 +-
en/react-native-permissions.md | 2 +-
en/react-native-picker-picker.md | 2 +-
en/react-native-picker.md | 2 +-
en/react-native-print.md | 2 +-
en/react-native-quick-base64.md | 2 +-
en/react-native-randombytes.md | 2 +-
en/react-native-reanimated.md | 2 +-
en/react-native-restart.md | 3 ++-
en/react-native-safe-area-context.md | 2 +-
en/react-native-screenshot-prevent.md | 2 +-
en/react-native-search-bar.md | 2 +-
en/react-native-securerandom.md | 2 +-
en/shopify-flash-list.md | 2 +-
15 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/en/react-native-pdf.md b/en/react-native-pdf.md
index 841f17b4b..0e6a2b301 100644
--- a/en/react-native-pdf.md
+++ b/en/react-native-pdf.md
@@ -111,7 +111,7 @@ If the version you use supports Autolink and the project has been connected to A
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
diff --git a/en/react-native-performance.md b/en/react-native-performance.md
index c22b98ca1..496945cde 100644
--- a/en/react-native-performance.md
+++ b/en/react-native-performance.md
@@ -223,7 +223,7 @@ If the version you use supports Autolink and the project has been connected to A
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
diff --git a/en/react-native-permissions.md b/en/react-native-permissions.md
index 83c90b17d..9d629a491 100644
--- a/en/react-native-permissions.md
+++ b/en/react-native-permissions.md
@@ -138,7 +138,7 @@ If the version you use supports Autolink and the project has been connected to A
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
diff --git a/en/react-native-picker-picker.md b/en/react-native-picker-picker.md
index faa9d02f8..87524e0c9 100644
--- a/en/react-native-picker-picker.md
+++ b/en/react-native-picker-picker.md
@@ -87,7 +87,7 @@ If the version you use supports Autolink and the project has been connected to A
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
diff --git a/en/react-native-picker.md b/en/react-native-picker.md
index 7b9d06ffe..b2c2fc73f 100644
--- a/en/react-native-picker.md
+++ b/en/react-native-picker.md
@@ -132,7 +132,7 @@ If the version you use supports Autolink and the project has been connected to A
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
diff --git a/en/react-native-print.md b/en/react-native-print.md
index d91a96226..5aa4d012b 100644
--- a/en/react-native-print.md
+++ b/en/react-native-print.md
@@ -134,7 +134,7 @@ If the version you use supports Autolink and the project has been connected to A
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
diff --git a/en/react-native-quick-base64.md b/en/react-native-quick-base64.md
index 9103d57e9..4a18aa9d2 100644
--- a/en/react-native-quick-base64.md
+++ b/en/react-native-quick-base64.md
@@ -399,7 +399,7 @@ If the version you use supports Autolink and the project has been connected to A
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
diff --git a/en/react-native-randombytes.md b/en/react-native-randombytes.md
index eddb71c29..57387a752 100644
--- a/en/react-native-randombytes.md
+++ b/en/react-native-randombytes.md
@@ -125,7 +125,7 @@ If the version you use supports Autolink and the project has been connected to A
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
diff --git a/en/react-native-reanimated.md b/en/react-native-reanimated.md
index 79c40edc0..c3192c39d 100644
--- a/en/react-native-reanimated.md
+++ b/en/react-native-reanimated.md
@@ -134,7 +134,7 @@ If the version you use supports Autolink and the project has been connected to A
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
diff --git a/en/react-native-restart.md b/en/react-native-restart.md
index 46a91f923..f96fbba8a 100644
--- a/en/react-native-restart.md
+++ b/en/react-native-restart.md
@@ -103,7 +103,8 @@ If the version you use supports Autolink and the project has been connected to A
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.Open `entry/oh-package.json5` file and add the following dependencies:
```json
diff --git a/en/react-native-safe-area-context.md b/en/react-native-safe-area-context.md
index ca8e41b41..8acc03cfb 100644
--- a/en/react-native-safe-area-context.md
+++ b/en/react-native-safe-area-context.md
@@ -86,7 +86,7 @@ If the version you use supports Autolink and the project has been connected to A
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. Add the overrides field to the root `oh-package.json5` of the project
diff --git a/en/react-native-screenshot-prevent.md b/en/react-native-screenshot-prevent.md
index 2466299d0..e486d19a3 100644
--- a/en/react-native-screenshot-prevent.md
+++ b/en/react-native-screenshot-prevent.md
@@ -92,7 +92,7 @@ If the version you use supports Autolink and the project has been connected to A
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
diff --git a/en/react-native-search-bar.md b/en/react-native-search-bar.md
index ed1dee055..c43c044da 100644
--- a/en/react-native-search-bar.md
+++ b/en/react-native-search-bar.md
@@ -123,7 +123,7 @@ If the version you use supports Autolink and the project has been connected to A
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
diff --git a/en/react-native-securerandom.md b/en/react-native-securerandom.md
index 8d847bff0..d94c880d0 100644
--- a/en/react-native-securerandom.md
+++ b/en/react-native-securerandom.md
@@ -133,7 +133,7 @@ If the version you use supports Autolink and the project has been connected to A
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
diff --git a/en/shopify-flash-list.md b/en/shopify-flash-list.md
index c96a0010f..5721184d3 100644
--- a/en/shopify-flash-list.md
+++ b/en/shopify-flash-list.md
@@ -83,7 +83,7 @@ If the version you use supports Autolink and the project has been connected to A
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
--
Gitee
From f4734a8c06ded03af8fa3542b3b72e031ef0ff6f Mon Sep 17 00:00:00 2001
From: "@xobear-king" <2658469835@qq.com>
Date: Sat, 13 Dec 2025 11:56:49 +0800
Subject: [PATCH 04/12] =?UTF-8?q?docs:=20[Issues:=20#IDCP4M]=20=E4=B8=89?=
=?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?=
=?UTF-8?q?=E9=9C=80=E6=B1=82=E6=96=87=E6=A1=A3=E6=95=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
en/react-native-pdf.md | 2 +-
en/react-native-performance.md | 2 +-
en/react-native-picker-picker.md | 2 +-
en/react-native-print.md | 2 +-
en/react-native-qr-decode-image-camera.md | 2 +-
en/react-native-randombytes.md | 2 +-
en/react-native-restart.md | 2 +-
en/react-native-screenshot-prevent.md | 3 +--
en/react-native-securerandom.md | 3 +--
9 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/en/react-native-pdf.md b/en/react-native-pdf.md
index 0e6a2b301..74515add3 100644
--- a/en/react-native-pdf.md
+++ b/en/react-native-pdf.md
@@ -95,7 +95,7 @@ const styles = StyleSheet.create({
## Use Codegen
-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
diff --git a/en/react-native-performance.md b/en/react-native-performance.md
index 496945cde..938349fb9 100644
--- a/en/react-native-performance.md
+++ b/en/react-native-performance.md
@@ -207,7 +207,7 @@ const styles = StyleSheet.create({
## Use Codegen
-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
diff --git a/en/react-native-picker-picker.md b/en/react-native-picker-picker.md
index 87524e0c9..eb4b5748a 100644
--- a/en/react-native-picker-picker.md
+++ b/en/react-native-picker-picker.md
@@ -71,7 +71,7 @@ export const PickerExample = ()=>{
## Use Codegen
-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
diff --git a/en/react-native-print.md b/en/react-native-print.md
index 5aa4d012b..c7c29b8d5 100644
--- a/en/react-native-print.md
+++ b/en/react-native-print.md
@@ -118,7 +118,7 @@ export default function RNPrint(): JSX.Element {
## Use Codegen
-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](/zh-cn/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
diff --git a/en/react-native-qr-decode-image-camera.md b/en/react-native-qr-decode-image-camera.md
index cdf190620..27041c5f6 100644
--- a/en/react-native-qr-decode-image-camera.md
+++ b/en/react-native-qr-decode-image-camera.md
@@ -149,7 +149,7 @@ const styles = StyleSheet.create({
## Use Codegen
-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
diff --git a/en/react-native-randombytes.md b/en/react-native-randombytes.md
index 57387a752..a3a6c39b9 100644
--- a/en/react-native-randombytes.md
+++ b/en/react-native-randombytes.md
@@ -109,7 +109,7 @@ const styles = StyleSheet.create({
## Use Codegen
-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
diff --git a/en/react-native-restart.md b/en/react-native-restart.md
index f96fbba8a..6be117730 100644
--- a/en/react-native-restart.md
+++ b/en/react-native-restart.md
@@ -87,7 +87,7 @@ const styles = StyleSheet.create({
## Use Codegen
-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
diff --git a/en/react-native-screenshot-prevent.md b/en/react-native-screenshot-prevent.md
index e486d19a3..0928ae962 100644
--- a/en/react-native-screenshot-prevent.md
+++ b/en/react-native-screenshot-prevent.md
@@ -76,8 +76,7 @@ useEffect(() => {
## Use Codegen
-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
| | Is supported autolink | Supported RN Version |
diff --git a/en/react-native-securerandom.md b/en/react-native-securerandom.md
index d94c880d0..ff855fdc7 100644
--- a/en/react-native-securerandom.md
+++ b/en/react-native-securerandom.md
@@ -117,8 +117,7 @@ const styles = StyleSheet.create({
### Use Codegen
-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
| | Is supported autolink | Supported RN Version |
--
Gitee
From ca8fec779e093ccccd0770755653f4b64fbba8a0 Mon Sep 17 00:00:00 2001
From: "@xobear-king" <2658469835@qq.com>
Date: Sat, 13 Dec 2025 14:34:12 +0800
Subject: [PATCH 05/12] =?UTF-8?q?docs:=20[Issues:=20#IDCP4M]=20=E4=B8=89?=
=?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?=
=?UTF-8?q?=E9=9C=80=E6=B1=82=E6=96=87=E6=A1=A3=E6=95=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
zh-cn/react-native-permissions.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zh-cn/react-native-permissions.md b/zh-cn/react-native-permissions.md
index 04299c238..bdbf3e016 100644
--- a/zh-cn/react-native-permissions.md
+++ b/zh-cn/react-native-permissions.md
@@ -264,7 +264,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
-### 5.运行
+## 运行
点击右上角的 `sync` 按钮
--
Gitee
From 67009dd58618c6c5174c4fe3e1e669a0bce54e0b Mon Sep 17 00:00:00 2001
From: "@xobear-king" <2658469835@qq.com>
Date: Sat, 13 Dec 2025 14:37:24 +0800
Subject: [PATCH 06/12] =?UTF-8?q?docs:=20[Issues:=20#IDCP4M]=20=E4=B8=89?=
=?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?=
=?UTF-8?q?=E9=9C=80=E6=B1=82=E6=96=87=E6=A1=A3=E6=95=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
zh-cn/react-native-print.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zh-cn/react-native-print.md b/zh-cn/react-native-print.md
index e23455a21..a1216f819 100644
--- a/zh-cn/react-native-print.md
+++ b/zh-cn/react-native-print.md
@@ -259,7 +259,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
-### 5.运行
+## 运行
点击右上角的 `sync` 按钮
--
Gitee
From e3dcde562a3258195f29993535ed4a5bb18c019c Mon Sep 17 00:00:00 2001
From: "@xobear-king" <2658469835@qq.com>
Date: Sat, 13 Dec 2025 14:47:20 +0800
Subject: [PATCH 07/12] =?UTF-8?q?docs:=20[Issues:=20#IDCP4M]=20=E4=B8=89?=
=?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?=
=?UTF-8?q?=E9=9C=80=E6=B1=82=E6=96=87=E6=A1=A3=E6=95=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
en/react-native-qr-decode-image-camera.md | 3 ---
zh-cn/react-native-qr-decode-image-camera.md | 12 ------------
2 files changed, 15 deletions(-)
diff --git a/en/react-native-qr-decode-image-camera.md b/en/react-native-qr-decode-image-camera.md
index 27041c5f6..cc64b5802 100644
--- a/en/react-native-qr-decode-image-camera.md
+++ b/en/react-native-qr-decode-image-camera.md
@@ -235,9 +235,6 @@ Find `function buildCustomRNComponent()`, which is usually located in `entry/src
```diff
...
- // 0.72
-+ import { NativeScan } from "@react-native-oh-tpl/react-native-qr-decode-image-camera"
- // 0.77
+ import { NativeScan } from "@react-native-ohos/react-native-qr-decode-image-camera"
diff --git a/zh-cn/react-native-qr-decode-image-camera.md b/zh-cn/react-native-qr-decode-image-camera.md
index c40af02b5..867f23cc4 100644
--- a/zh-cn/react-native-qr-decode-image-camera.md
+++ b/zh-cn/react-native-qr-decode-image-camera.md
@@ -192,15 +192,6 @@ const styles = StyleSheet.create({
打开 `entry/oh-package.json5`,添加以下依赖
-- 0.72
-```json
-"dependencies": {
- "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-ohos/react-native-qr-decode-image-camera": "file:../../node_modules/@react-native-ohos/react-native-qr-decode-image-camera/harmony/qr_decode_image_camera.har"
- }
-```
-
-- 0.77
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -244,9 +235,6 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
```diff
...
- // 0.72
-+ import { NativeScan } from "@react-native-oh-tpl/react-native-qr-decode-image-camera"
- // 0.77
+ import { NativeScan } from "@react-native-ohos/react-native-qr-decode-image-camera"
@Builder
--
Gitee
From 989c046d7adf13482a6d1fe13db89a3bc7830099 Mon Sep 17 00:00:00 2001
From: "@xobear-king" <2658469835@qq.com>
Date: Sat, 13 Dec 2025 15:58:59 +0800
Subject: [PATCH 08/12] =?UTF-8?q?docs:=20[Issues:=20#IDCP4M]=20=E4=B8=89?=
=?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?=
=?UTF-8?q?=E9=9C=80=E6=B1=82=E6=96=87=E6=A1=A3=E6=95=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
en/react-native-performance.md | 2 --
en/react-native-picker-picker.md | 2 +-
zh-cn/react-native-picker-picker.md | 10 +++++-----
3 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/en/react-native-performance.md b/en/react-native-performance.md
index 938349fb9..e50d83635 100644
--- a/en/react-native-performance.md
+++ b/en/react-native-performance.md
@@ -370,8 +370,6 @@ Then build and run the code.
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;
- ### Permission Requiremen
-
## Performance
Exports the **Performance** object by default.
diff --git a/en/react-native-picker-picker.md b/en/react-native-picker-picker.md
index eb4b5748a..9a042c11a 100644
--- a/en/react-native-picker-picker.md
+++ b/en/react-native-picker-picker.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 |
|---------------------------| ------------------------------------------------------------ |---------------------------------------------------------------------------------------------------------------------------|
-| <= 2.6.3 | [@react-native-oh-tpl/picker Releases(deprecated)](https://github.com/react-native-oh-library/picker/releases) | 0.72 |
+| <= 2.6.3@deprecated | [@react-native-oh-tpl/picker Releases(deprecated)](https://github.com/react-native-oh-library/picker/releases) | 0.72 |
| 2.6.4 | [@react-native-ohos/picker Releases](https://gitcode.com/openharmony-sig/rntpc_picker/releases) | 0.72 |
| 2.11.2 | [@react-native-ohos/picker Releases](https://gitcode.com/openharmony-sig/rntpc_picker/releases) | 0.77 |
diff --git a/zh-cn/react-native-picker-picker.md b/zh-cn/react-native-picker-picker.md
index 76d169654..25245a6e6 100644
--- a/zh-cn/react-native-picker-picker.md
+++ b/zh-cn/react-native-picker-picker.md
@@ -18,11 +18,11 @@
请到三方库的 Releases 发布地址查看配套的版本信息:
-| 三方库版本 | 发布信息 | 支持RN版本 |
-|---------------------------| ------------------------------------------------------------ |---------------------------------------------------------------------------------------------------------------------------|
-| <= 2.6.3 | [@react-native-oh-tpl/picker Releases(deprecated)](https://github.com/react-native-oh-library/picker/releases) | 0.72 |
-| 2.6.4 | [@react-native-ohos/picker Releases](https://gitcode.com/openharmony-sig/rntpc_picker/releases) | 0.72 |
-| 2.11.2 | [@react-native-ohos/picker Releases](https://gitcode.com/openharmony-sig/rntpc_picker/releases) | 0.77 |
+| 三方库版本 | 发布信息 | 支持RN版本 |
+|---------------------| ------------------------------------------------------------ |---------------------------------------------------------------------------------------------------------------------------|
+| <= 2.6.3@deprecated | [@react-native-oh-tpl/picker Releases(deprecated)](https://github.com/react-native-oh-library/picker/releases) | 0.72 |
+| 2.6.4 | [@react-native-ohos/picker Releases](https://gitcode.com/openharmony-sig/rntpc_picker/releases) | 0.72 |
+| 2.11.2 | [@react-native-ohos/picker Releases](https://gitcode.com/openharmony-sig/rntpc_picker/releases) | 0.77 |
对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
--
Gitee
From c61743b8778bd57b32b5d177e810ac069db18004 Mon Sep 17 00:00:00 2001
From: "@xobear-king" <2658469835@qq.com>
Date: Sat, 13 Dec 2025 16:11:20 +0800
Subject: [PATCH 09/12] =?UTF-8?q?docs:=20[Issues:=20#IDCP4M]=20=E4=B8=89?=
=?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?=
=?UTF-8?q?=E9=9C=80=E6=B1=82=E6=96=87=E6=A1=A3=E6=95=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
en/react-native-search-bar.md | 2 +-
zh-cn/react-native-search-bar.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/en/react-native-search-bar.md b/en/react-native-search-bar.md
index c43c044da..e22384a7a 100644
--- a/en/react-native-search-bar.md
+++ b/en/react-native-search-bar.md
@@ -114,7 +114,7 @@ export default SearchBarDemo;
| | Is supported autolink | Supported RN Version |
|--------------------------------------|-----------------------|----------------------|
| ~3.6.0 | No | 0.77 |
-| ~3.0.10 | Yes | 0.72 |
+| ~3.5.2 | Yes | 0.72 |
| <= 3.5.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
diff --git a/zh-cn/react-native-search-bar.md b/zh-cn/react-native-search-bar.md
index 4e49e57dd..53bba370f 100644
--- a/zh-cn/react-native-search-bar.md
+++ b/zh-cn/react-native-search-bar.md
@@ -113,7 +113,7 @@ export default SearchBarDemo;
| | 是否支持autolink | RN框架版本 |
|--------------------------------------|--------------|----------|
| ~3.6.0 | No | 0.77 |
-| ~3.0.10 | Yes | 0.72 |
+| ~3.5.2 | Yes | 0.72 |
| <= 3.5.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
--
Gitee
From da1342925620bace20d2ffb38bdb12d90b4e8fba Mon Sep 17 00:00:00 2001
From: "@xobear-king" <2658469835@qq.com>
Date: Sat, 13 Dec 2025 17:48:16 +0800
Subject: [PATCH 10/12] =?UTF-8?q?docs:=20[Issues:=20#IDCP4M]=20=E4=B8=89?=
=?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?=
=?UTF-8?q?=E9=9C=80=E6=B1=82=E6=96=87=E6=A1=A3=E6=95=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
zh-cn/react-native-pdf.md | 20 ++++----------
zh-cn/react-native-performance.md | 23 ++++++----------
zh-cn/react-native-picker-picker.md | 20 ++++----------
zh-cn/react-native-picker.md | 18 +++---------
zh-cn/react-native-qr-decode-image-camera.md | 22 +++++----------
zh-cn/react-native-quick-base64.md | 18 +++---------
zh-cn/react-native-randombytes.md | 19 ++++---------
zh-cn/react-native-reanimated.md | 16 ++---------
zh-cn/react-native-restart.md | 29 +++-----------------
zh-cn/react-native-safe-area-context.md | 16 ++---------
zh-cn/react-native-screenshot-prevent.md | 19 ++++---------
zh-cn/react-native-securerandom.md | 21 +++++---------
zh-cn/shopify-flash-list.md | 16 ++---------
13 files changed, 67 insertions(+), 190 deletions(-)
diff --git a/zh-cn/react-native-pdf.md b/zh-cn/react-native-pdf.md
index 4fad3950f..d84c84234 100644
--- a/zh-cn/react-native-pdf.md
+++ b/zh-cn/react-native-pdf.md
@@ -95,23 +95,17 @@ const styles = StyleSheet.create({
## 使用 Codegen
+Version >= @react-native-ohos/react-native-pdf@6.7.5,已适配codegen-lib生成桥接代码。
+
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-| | 是否支持autolink | RN框架版本 |
-|--------------------------------------|-----------------|------------|
-| ~6.8.0 | No | 0.77 |
-| ~6.7.5 | Yes | 0.72 |
-| <= 6.7.4-0.3.6@deprecated | No | 0.72 |
-
-使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+Version >= @react-native-ohos/react-native-pdf@6.7.5,已支持 Autolink,无需手动配置,目前只支持72框架。 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 字段
@@ -252,9 +246,7 @@ const arkTsComponentNames: Array = [
];
```
-
-
-## 运行
+### 5.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-performance.md b/zh-cn/react-native-performance.md
index a15df30eb..d06f3ed35 100644
--- a/zh-cn/react-native-performance.md
+++ b/zh-cn/react-native-performance.md
@@ -58,7 +58,7 @@ import {
StatusBar,
TouchableOpacity
} from 'react-native';
-import performance,{PerformanceObserver,setResourceLoggingEnabled} from 'react-native-performance'
+import performance,{PerformanceObserver,setResourceLoggingEnabled} from '@react-native-ohos/react-native-performance'
export function TestNativePerformance() {
const [result1, setResult1] = React.useState(0)
const [result2, setResult2] = React.useState('')
@@ -203,23 +203,18 @@ const styles = StyleSheet.create({
```
## 使用 Codegen
+Version >= @react-native-ohos/react-native-performance@5.1.3,已适配codegen-lib生成桥接代码。
+
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-| | 是否支持autolink | RN框架版本 |
-|--------------------------------------|-----------------|------------|
-| ~5.2.0 | No | 0.77 |
-| ~5.1.3 | Yes | 0.72 |
-| <= 5.1.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
+Version >= @react-native-ohos/react-native-performance@5.1.3,已支持 Autolink,无需手动配置,目前只支持72框架。
+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 打开项目里的鸿蒙工程 `harmony`
### 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段
@@ -343,9 +338,7 @@ std::vector> PackageProvider::getPackages(Package::Cont
}
```
-
-
-## 运行
+### 5.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-picker-picker.md b/zh-cn/react-native-picker-picker.md
index 25245a6e6..e07596c07 100644
--- a/zh-cn/react-native-picker-picker.md
+++ b/zh-cn/react-native-picker-picker.md
@@ -50,7 +50,7 @@ yarn add @react-native-ohos/picker
```js
import * as React from "react";
-import { Picker } from "picker";
+import { Picker } from "@react-native-picker/picker";
import { View } from "react-native";
@@ -72,21 +72,15 @@ export const PickerExample = ()=>{
## 使用 Codegen
+Version >= @react-native-ohos/picker@2.6.4,已适配codegen-lib生成桥接代码。
+
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-| | 是否支持autolink | RN框架版本 |
-|--------------------------------------|-----------------|------------|
-| ~2.11.2 | No | 0.77 |
-| ~2.6.4 | Yes | 0.72 |
-| <= 2.6.3@deprecated | No | 0.72 |
-
-使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+Version >= @react-native-ohos/picker@2.6.4,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。
-
- ManualLink: 此步骤为手动配置原生依赖项的指导
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
@@ -249,9 +243,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-
-
-## 运行
+### 5.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-picker.md b/zh-cn/react-native-picker.md
index f773b8683..2ea7ba5e4 100644
--- a/zh-cn/react-native-picker.md
+++ b/zh-cn/react-native-picker.md
@@ -119,17 +119,10 @@ export default MyPicker;
```
## Link
-| | 是否支持autolink | RN框架版本 |
-|--------------------------------------|-----------------|------------|
-| ~4.4.0 | No | 0.77 |
-| ~4.3.10 | Yes | 0.72 |
-| <= 4.3.9-0.0.8@deprecated | No | 0.72 |
+Version >= @react-native-ohos/react-native-picker@4.3.10,已支持 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`
@@ -250,10 +243,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
];
}
```
-
-
-
-## 运行
+### 5.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-qr-decode-image-camera.md b/zh-cn/react-native-qr-decode-image-camera.md
index 867f23cc4..6ff1e9533 100644
--- a/zh-cn/react-native-qr-decode-image-camera.md
+++ b/zh-cn/react-native-qr-decode-image-camera.md
@@ -148,26 +148,20 @@ const styles = StyleSheet.create({
## 使用 Codegen
+Version >= @react-native-ohos/react-native-qr-decode-image-camera@1.1.5,已适配codegen-lib生成桥接代码。
+
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-| | 是否支持autolink | RN框架版本 |
-|--------------------------------|-----------------|------------|
-| ~1.2.0 | No | 0.77 |
-| ~1.1.5 | Yes | 0.72 |
-| <= 1.1.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: 此步骤为手动配置原生依赖项的指导
+Version >= @react-native-ohos/react-native-qr-decode-image-camera@1.1.5,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。
+本库鸿蒙侧实现依赖@react-native-ohos/react-native-vision-camera 的原生端代码,如已在鸿蒙工程中引入过该库,则无需再次引入,可跳过本章节步骤,直接使用。
如未引入请参照[@react-native-ohos/react-native-vision-camera](/zh-cn/react-native-vision-camera.md)进行引入
+此步骤为手动配置原生依赖项的指导。
+
## 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段
```json
@@ -313,9 +307,7 @@ std::vector> PackageProvider::getPackages(Package::Cont
}
```
-
-
-## 运行
+### 6.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-quick-base64.md b/zh-cn/react-native-quick-base64.md
index 50f22ec9a..edc25e159 100644
--- a/zh-cn/react-native-quick-base64.md
+++ b/zh-cn/react-native-quick-base64.md
@@ -52,7 +52,7 @@ yarn add @react-native-ohos/react-native-quick-base64
import React, { useState } from 'react';
import { Text, View, TextInput, ScrollView, StyleSheet, Button } from 'react-native';
-import { byteLength, btoa, atob, toByteArray, fromByteArray, getNative, trimBase64Padding, shim } from 'react-native-quick-base64';
+import { byteLength, btoa, atob, toByteArray, fromByteArray, getNative, trimBase64Padding, shim } from '@react-native-ohos/react-native-quick-base64';
type FuncBase64ToArrayBuffer = (
data: string,
removeLinebreaks?: boolean
@@ -418,17 +418,9 @@ const styles = StyleSheet.create({
## Link
-| | 是否支持autolink | RN框架版本 |
-|------------------------------------|-----------------|------------|
-| ~2.2.0 | No | 0.77 |
-| ~2.1.3 | Yes | 0.72 |
-| <= 2.1.2-1.0.1@deprecated | No | 0.72 |
+Version >= @react-native-ohos/react-native-quick-base64@2.1.3,已支持 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`
@@ -551,9 +543,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-
-
-## 运行
+### 5.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-randombytes.md b/zh-cn/react-native-randombytes.md
index 339a948e1..a21de7414 100644
--- a/zh-cn/react-native-randombytes.md
+++ b/zh-cn/react-native-randombytes.md
@@ -111,21 +111,16 @@ const styles = StyleSheet.create({
## 使用 Codegen(如本库已适配了 Codegen )
+Version >= @react-native-ohos/react-native-randombytes@3.6.2,已适配codegen-lib生成桥接代码。
+
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-| | 是否支持autolink | RN框架版本 |
-|--------------------------------------|-----------------|------------|
-| ~3.7.0 | No | 0.77 |
-| ~3.6.2 | Yes | 0.72 |
-| <= 3.6.1-0.0.4@deprecated | No | 0.72 |
-
-使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+Version >= @react-native-ohos/react-native-randombytes@3.6.2,已支持 Autolink,无需手动配置,目前只支持72框架。
+Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。
-
- ManualLink: 此步骤为手动配置原生依赖项的指导
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
@@ -251,9 +246,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-
-
-## 运行
+### 5.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-reanimated.md b/zh-cn/react-native-reanimated.md
index 854cc5d08..cc260301e 100644
--- a/zh-cn/react-native-reanimated.md
+++ b/zh-cn/react-native-reanimated.md
@@ -122,17 +122,9 @@ export default function App() {
## Link
-| | 是否支持autolink | RN框架版本 |
-|--------------------------------------|-----------------|------------|
-| ~3.18.1 | No | 0.77 |
-| ~3.6.5 | Yes | 0.72 |
-| <= 3.6.4@deprecated | No | 0.72 |
+Version >= @react-native-ohos/react-native-reanimated@3.6.5,已支持 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`
@@ -250,9 +242,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-
-
-## 运行
+### 5.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-restart.md b/zh-cn/react-native-restart.md
index a220b864f..e7923f8b1 100644
--- a/zh-cn/react-native-restart.md
+++ b/zh-cn/react-native-restart.md
@@ -87,21 +87,15 @@ const styles = StyleSheet.create({
## 使用 Codegen
+Version >= @react-native-ohos/react-native-restart@0.0.28,已适配codegen-lib生成桥接代码。
+
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-| | 是否支持autolink | RN框架版本 |
-|--------------------------------------|-----------------|------------|
-| ~0.1.0 | No | 0.77 |
-| ~0.0.28 | Yes | 0.72 |
-| <= 0.0.27-0.0.3@deprecated | No | 0.72 |
-
-使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+Version >= @react-native-ohos/react-native-restart@0.0.28,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。
-
- ManualLink: 此步骤为手动配置原生依赖项的指导
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
### 1.在工程根目录的 `oh-package.json5` 添加 overrides字段
@@ -226,21 +220,6 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-
-
-## 运行
-
-点击右上角的 `sync` 按钮
-
-或者在终端执行:
-
-```bash
-cd entry
-ohpm install
-```
-
-然后编译、运行即可。
-
## 约束与限制
### 兼容性
diff --git a/zh-cn/react-native-safe-area-context.md b/zh-cn/react-native-safe-area-context.md
index 177f306fd..453c22efb 100644
--- a/zh-cn/react-native-safe-area-context.md
+++ b/zh-cn/react-native-safe-area-context.md
@@ -74,17 +74,9 @@ export default App;
## Link
-| | 是否支持autolink | RN框架版本 |
-|--------------------------------------|-----------------|------------|
-| ~5.1.1 | No | 0.77 |
-| ~4.7.5 | Yes | 0.72 |
-| <= 4.7.4-0.2.1@deprecated | No | 0.72 |
+Version >= @react-native-ohos/react-native-safe-area-context@4.7.5,已支持 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`
@@ -212,9 +204,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-
-
-## 运行
+### 5.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-screenshot-prevent.md b/zh-cn/react-native-screenshot-prevent.md
index 468183036..d570c210f 100644
--- a/zh-cn/react-native-screenshot-prevent.md
+++ b/zh-cn/react-native-screenshot-prevent.md
@@ -74,21 +74,16 @@ useEffect(() => {
## 使用 Codegen
+Version >= @react-native-ohos/react-native-screenshot-prevent@1.2.2,已适配 codegen-lib 生成桥接代码。
+
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-| | 是否支持autolink | RN框架版本 |
-|--------------------------------------|-----------------|------------|
-| ~1.3.0 | No | 0.77 |
-| ~1.2.2 | Yes | 0.72 |
-| <= 1.2.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
+Version >= @react-native-ohos/react-native-screenshot-prevent@1.2.2,已支持 Autolink,无需手动配置,目前只支持72框架。
+Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。
-
- ManualLink: 此步骤为手动配置原生依赖项的指导
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的鸿蒙工程 `harmony`
@@ -214,9 +209,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-
-
-## 运行
+### 5.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-securerandom.md b/zh-cn/react-native-securerandom.md
index 743c07c36..a02bb8343 100644
--- a/zh-cn/react-native-securerandom.md
+++ b/zh-cn/react-native-securerandom.md
@@ -88,23 +88,18 @@ const styles = StyleSheet.create({
btnText: { fontWeight: 'bold', color: '#fff', fontSize: 20 }
});
```
-### 使用 Codegen
+### 使用 Codegen
+
+Version >= @react-native-ohos/react-native-securerandom@1.0.2,已适配codegen-lib生成桥接代码。
本库已经适配了 Codegen ,在使用前需要主动执行生成三方库桥接代码,详细请参考 [Codegen](/zh-cn/link-source-code.md) 使用文档。
## Link
-| | 是否支持autolink | RN框架版本 |
-|--------------------------------------|-----------------|------------|
-| ~1.1.0 | No | 0.77 |
-| ~1.0.2 | Yes | 0.72 |
-| <= 1.0.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
+Version >= @react-native-ohos/react-native-securerandom@1.0.2,已支持 Autolink,无需手动配置,目前只支持72框架。
+Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。
-
- ManualLink: 此步骤为手动配置原生依赖项的指导
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
@@ -229,9 +224,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-
-
-## 运行
+### 5.运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/shopify-flash-list.md b/zh-cn/shopify-flash-list.md
index e04bd9b40..2f8e55f75 100644
--- a/zh-cn/shopify-flash-list.md
+++ b/zh-cn/shopify-flash-list.md
@@ -71,17 +71,9 @@ const MyList = () => {
## Link
-| | 是否支持autolink | RN框架版本 |
-|--------------------------------------|-----------------|------------|
-| ~1.8.3 | No | 0.77 |
-| ~1.6.4 | Yes | 0.72 |
-| <= 1.6.3-0.2.9@deprecated | No | 0.72 |
+Version >= @react-native-ohos/flash-list@1.6.4,已支持 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`
@@ -191,9 +183,7 @@ std::vector> PackageProvider::getPackages(Package::Cont
}
```
-
-
-## 运行
+### 4.运行
点击右上角的 `sync` 按钮
--
Gitee
From d966f5f920d26cc9fa0640480b90e7aa998a46a2 Mon Sep 17 00:00:00 2001
From: "@xobear-king" <2658469835@qq.com>
Date: Sat, 13 Dec 2025 17:52:38 +0800
Subject: [PATCH 11/12] =?UTF-8?q?docs:=20[Issues:=20#IDCP4M]=20=E4=B8=89?=
=?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?=
=?UTF-8?q?=E9=9C=80=E6=B1=82=E6=96=87=E6=A1=A3=E6=95=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
zh-cn/react-native-pdf.md | 20 ++++++++++----
zh-cn/react-native-performance.md | 23 ++++++++++------
zh-cn/react-native-picker-picker.md | 20 ++++++++++----
zh-cn/react-native-picker.md | 18 +++++++++---
zh-cn/react-native-qr-decode-image-camera.md | 22 ++++++++++-----
zh-cn/react-native-quick-base64.md | 18 +++++++++---
zh-cn/react-native-randombytes.md | 19 +++++++++----
zh-cn/react-native-reanimated.md | 16 +++++++++--
zh-cn/react-native-restart.md | 29 +++++++++++++++++---
zh-cn/react-native-safe-area-context.md | 16 +++++++++--
zh-cn/react-native-screenshot-prevent.md | 19 +++++++++----
zh-cn/react-native-securerandom.md | 21 +++++++++-----
zh-cn/shopify-flash-list.md | 16 +++++++++--
13 files changed, 190 insertions(+), 67 deletions(-)
diff --git a/zh-cn/react-native-pdf.md b/zh-cn/react-native-pdf.md
index d84c84234..4fad3950f 100644
--- a/zh-cn/react-native-pdf.md
+++ b/zh-cn/react-native-pdf.md
@@ -95,17 +95,23 @@ const styles = StyleSheet.create({
## 使用 Codegen
-Version >= @react-native-ohos/react-native-pdf@6.7.5,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-pdf@6.7.5,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~6.8.0 | No | 0.77 |
+| ~6.7.5 | Yes | 0.72 |
+| <= 6.7.4-0.3.6@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 字段
@@ -246,7 +252,9 @@ const arkTsComponentNames: Array = [
];
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-performance.md b/zh-cn/react-native-performance.md
index d06f3ed35..a15df30eb 100644
--- a/zh-cn/react-native-performance.md
+++ b/zh-cn/react-native-performance.md
@@ -58,7 +58,7 @@ import {
StatusBar,
TouchableOpacity
} from 'react-native';
-import performance,{PerformanceObserver,setResourceLoggingEnabled} from '@react-native-ohos/react-native-performance'
+import performance,{PerformanceObserver,setResourceLoggingEnabled} from 'react-native-performance'
export function TestNativePerformance() {
const [result1, setResult1] = React.useState(0)
const [result2, setResult2] = React.useState('')
@@ -203,18 +203,23 @@ const styles = StyleSheet.create({
```
## 使用 Codegen
-Version >= @react-native-ohos/react-native-performance@5.1.3,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-performance@5.1.3,已支持 Autolink,无需手动配置,目前只支持72框架。
-Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~5.2.0 | No | 0.77 |
+| ~5.1.3 | Yes | 0.72 |
+| <= 5.1.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 打开项目里的鸿蒙工程 `harmony`
+首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。
### 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段
@@ -338,7 +343,9 @@ std::vector> PackageProvider::getPackages(Package::Cont
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-picker-picker.md b/zh-cn/react-native-picker-picker.md
index e07596c07..25245a6e6 100644
--- a/zh-cn/react-native-picker-picker.md
+++ b/zh-cn/react-native-picker-picker.md
@@ -50,7 +50,7 @@ yarn add @react-native-ohos/picker
```js
import * as React from "react";
-import { Picker } from "@react-native-picker/picker";
+import { Picker } from "picker";
import { View } from "react-native";
@@ -72,15 +72,21 @@ export const PickerExample = ()=>{
## 使用 Codegen
-Version >= @react-native-ohos/picker@2.6.4,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/picker@2.6.4,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~2.11.2 | No | 0.77 |
+| ~2.6.4 | Yes | 0.72 |
+| <= 2.6.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`
@@ -243,7 +249,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-picker.md b/zh-cn/react-native-picker.md
index 2ea7ba5e4..f773b8683 100644
--- a/zh-cn/react-native-picker.md
+++ b/zh-cn/react-native-picker.md
@@ -119,10 +119,17 @@ export default MyPicker;
```
## Link
-Version >= @react-native-ohos/react-native-picker@4.3.10,已支持 Autolink,无需手动配置,目前只支持72框架。
-Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~4.4.0 | No | 0.77 |
+| ~4.3.10 | Yes | 0.72 |
+| <= 4.3.9-0.0.8@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`
@@ -243,7 +250,10 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
];
}
```
-### 5.运行
+
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-qr-decode-image-camera.md b/zh-cn/react-native-qr-decode-image-camera.md
index 6ff1e9533..867f23cc4 100644
--- a/zh-cn/react-native-qr-decode-image-camera.md
+++ b/zh-cn/react-native-qr-decode-image-camera.md
@@ -148,19 +148,25 @@ const styles = StyleSheet.create({
## 使用 Codegen
-Version >= @react-native-ohos/react-native-qr-decode-image-camera@1.1.5,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-qr-decode-image-camera@1.1.5,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------|-----------------|------------|
+| ~1.2.0 | No | 0.77 |
+| ~1.1.5 | Yes | 0.72 |
+| <= 1.1.4@deprecated | No | 0.72 |
-本库鸿蒙侧实现依赖@react-native-ohos/react-native-vision-camera 的原生端代码,如已在鸿蒙工程中引入过该库,则无需再次引入,可跳过本章节步骤,直接使用。
+使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-如未引入请参照[@react-native-ohos/react-native-vision-camera](/zh-cn/react-native-vision-camera.md)进行引入
+如您使用的版本支持 Autolink,并且工程已接入 Autolink,可跳过ManualLink配置。
+
+ ManualLink: 此步骤为手动配置原生依赖项的指导
-此步骤为手动配置原生依赖项的指导。
+首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。
+
+如未引入请参照[@react-native-ohos/react-native-vision-camera](/zh-cn/react-native-vision-camera.md)进行引入
## 1.在工程根目录的 `oh-package.json5` 添加 overrides 字段
@@ -307,7 +313,9 @@ std::vector> PackageProvider::getPackages(Package::Cont
}
```
-### 6.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-quick-base64.md b/zh-cn/react-native-quick-base64.md
index edc25e159..50f22ec9a 100644
--- a/zh-cn/react-native-quick-base64.md
+++ b/zh-cn/react-native-quick-base64.md
@@ -52,7 +52,7 @@ yarn add @react-native-ohos/react-native-quick-base64
import React, { useState } from 'react';
import { Text, View, TextInput, ScrollView, StyleSheet, Button } from 'react-native';
-import { byteLength, btoa, atob, toByteArray, fromByteArray, getNative, trimBase64Padding, shim } from '@react-native-ohos/react-native-quick-base64';
+import { byteLength, btoa, atob, toByteArray, fromByteArray, getNative, trimBase64Padding, shim } from 'react-native-quick-base64';
type FuncBase64ToArrayBuffer = (
data: string,
removeLinebreaks?: boolean
@@ -418,9 +418,17 @@ const styles = StyleSheet.create({
## Link
-Version >= @react-native-ohos/react-native-quick-base64@2.1.3,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|------------------------------------|-----------------|------------|
+| ~2.2.0 | No | 0.77 |
+| ~2.1.3 | Yes | 0.72 |
+| <= 2.1.2-1.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`
@@ -543,7 +551,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-randombytes.md b/zh-cn/react-native-randombytes.md
index a21de7414..339a948e1 100644
--- a/zh-cn/react-native-randombytes.md
+++ b/zh-cn/react-native-randombytes.md
@@ -111,16 +111,21 @@ const styles = StyleSheet.create({
## 使用 Codegen(如本库已适配了 Codegen )
-Version >= @react-native-ohos/react-native-randombytes@3.6.2,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-randombytes@3.6.2,已支持 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.2 | Yes | 0.72 |
+| <= 3.6.1-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`
@@ -246,7 +251,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-reanimated.md b/zh-cn/react-native-reanimated.md
index cc260301e..854cc5d08 100644
--- a/zh-cn/react-native-reanimated.md
+++ b/zh-cn/react-native-reanimated.md
@@ -122,9 +122,17 @@ export default function App() {
## Link
-Version >= @react-native-ohos/react-native-reanimated@3.6.5,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~3.18.1 | No | 0.77 |
+| ~3.6.5 | Yes | 0.72 |
+| <= 3.6.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`
@@ -242,7 +250,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-restart.md b/zh-cn/react-native-restart.md
index e7923f8b1..a220b864f 100644
--- a/zh-cn/react-native-restart.md
+++ b/zh-cn/react-native-restart.md
@@ -87,15 +87,21 @@ const styles = StyleSheet.create({
## 使用 Codegen
-Version >= @react-native-ohos/react-native-restart@0.0.28,已适配codegen-lib生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-restart@0.0.28,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~0.1.0 | No | 0.77 |
+| ~0.0.28 | Yes | 0.72 |
+| <= 0.0.27-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`
### 1.在工程根目录的 `oh-package.json5` 添加 overrides字段
@@ -220,6 +226,21 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
+
+
+## 运行
+
+点击右上角的 `sync` 按钮
+
+或者在终端执行:
+
+```bash
+cd entry
+ohpm install
+```
+
+然后编译、运行即可。
+
## 约束与限制
### 兼容性
diff --git a/zh-cn/react-native-safe-area-context.md b/zh-cn/react-native-safe-area-context.md
index 453c22efb..177f306fd 100644
--- a/zh-cn/react-native-safe-area-context.md
+++ b/zh-cn/react-native-safe-area-context.md
@@ -74,9 +74,17 @@ export default App;
## Link
-Version >= @react-native-ohos/react-native-safe-area-context@4.7.5,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~5.1.1 | No | 0.77 |
+| ~4.7.5 | Yes | 0.72 |
+| <= 4.7.4-0.2.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`
@@ -204,7 +212,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-screenshot-prevent.md b/zh-cn/react-native-screenshot-prevent.md
index d570c210f..468183036 100644
--- a/zh-cn/react-native-screenshot-prevent.md
+++ b/zh-cn/react-native-screenshot-prevent.md
@@ -74,16 +74,21 @@ useEffect(() => {
## 使用 Codegen
-Version >= @react-native-ohos/react-native-screenshot-prevent@1.2.2,已适配 codegen-lib 生成桥接代码。
-
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-Version >= @react-native-ohos/react-native-screenshot-prevent@1.2.2,已支持 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.2 | Yes | 0.72 |
+| <= 1.2.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 打开项目里的鸿蒙工程 `harmony`
@@ -209,7 +214,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/react-native-securerandom.md b/zh-cn/react-native-securerandom.md
index a02bb8343..743c07c36 100644
--- a/zh-cn/react-native-securerandom.md
+++ b/zh-cn/react-native-securerandom.md
@@ -88,18 +88,23 @@ const styles = StyleSheet.create({
btnText: { fontWeight: 'bold', color: '#fff', fontSize: 20 }
});
```
-### 使用 Codegen
-
-Version >= @react-native-ohos/react-native-securerandom@1.0.2,已适配codegen-lib生成桥接代码。
+### 使用 Codegen
本库已经适配了 Codegen ,在使用前需要主动执行生成三方库桥接代码,详细请参考 [Codegen](/zh-cn/link-source-code.md) 使用文档。
## Link
-Version >= @react-native-ohos/react-native-securerandom@1.0.2,已支持 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.2 | Yes | 0.72 |
+| <= 1.0.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`
@@ -224,7 +229,9 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 5.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
diff --git a/zh-cn/shopify-flash-list.md b/zh-cn/shopify-flash-list.md
index 2f8e55f75..e04bd9b40 100644
--- a/zh-cn/shopify-flash-list.md
+++ b/zh-cn/shopify-flash-list.md
@@ -71,9 +71,17 @@ const MyList = () => {
## Link
-Version >= @react-native-ohos/flash-list@1.6.4,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+| | 是否支持autolink | RN框架版本 |
+|--------------------------------------|-----------------|------------|
+| ~1.8.3 | No | 0.77 |
+| ~1.6.4 | Yes | 0.72 |
+| <= 1.6.3-0.2.9@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`
@@ -183,7 +191,9 @@ std::vector> PackageProvider::getPackages(Package::Cont
}
```
-### 4.运行
+
+
+## 运行
点击右上角的 `sync` 按钮
--
Gitee
From 627f8a82826f880b13efb59b164ce01112b62bff Mon Sep 17 00:00:00 2001
From: "@xobear-king" <2658469835@qq.com>
Date: Sat, 13 Dec 2025 18:23:22 +0800
Subject: [PATCH 12/12] =?UTF-8?q?docs:=20[Issues:=20#IDCP4M]=20=E4=B8=89?=
=?UTF-8?q?=E6=96=B9=E5=BA=93=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7?=
=?UTF-8?q?=E9=9C=80=E6=B1=82=E6=96=87=E6=A1=A3=E6=95=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
zh-cn/react-native-securerandom.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zh-cn/react-native-securerandom.md b/zh-cn/react-native-securerandom.md
index 743c07c36..08412ab49 100644
--- a/zh-cn/react-native-securerandom.md
+++ b/zh-cn/react-native-securerandom.md
@@ -90,7 +90,7 @@ const styles = StyleSheet.create({
```
### 使用 Codegen
-本库已经适配了 Codegen ,在使用前需要主动执行生成三方库桥接代码,详细请参考 [Codegen](/zh-cn/link-source-code.md) 使用文档。
+本库已经适配了 Codegen ,在使用前需要主动执行生成三方库桥接代码,详细请参考 [Codegen](/zh-cn/codegen.md) 使用文档。
## Link
--
Gitee