From 79df64f391d7c70535b02268f65a93f338305208 Mon Sep 17 00:00:00 2001
From: wangqiuyun1126 <727176064@qq.com>
Date: Fri, 21 Nov 2025 16:48:50 +0800
Subject: [PATCH 1/6] =?UTF-8?q?docs:=20[Issues:=20#ID7VS4]=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=8210=E4=B8=AA=E4=B8=89=E6=96=B9=E5=BA=93?=
=?UTF-8?q?=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
Signed-off-by: wangqiuyun1126 <727176064@qq.com>
---
en/react-native-apple-authentication.md | 117 ++++++++++++++-
en/react-native-community-checkbox.md | 8 +-
en/react-native-default-preference.md | 65 +++++----
en/react-native-fingerprint-scanner.md | 160 +++++++++++++++++----
en/react-native-haptic-feedback.md | 157 +++++++++++++++++---
en/react-native-http-bridge.md | 29 ++--
en/react-native-localization.md | 25 +++-
en/react-native-performance.md | 111 +++++++++++++-
en/react-native-thumbnail.md | 32 +++--
en/remobile-react-native-toast.md | 114 +++++++++++++--
zh-cn/react-native-apple-authentication.md | 25 ++--
zh-cn/react-native-community-checkbox.md | 8 +-
zh-cn/react-native-default-preference.md | 24 ++--
zh-cn/react-native-fingerprint-scanner.md | 13 +-
zh-cn/react-native-haptic-feedback.md | 35 +++--
zh-cn/react-native-http-bridge.md | 27 ++--
zh-cn/react-native-localization.md | 25 +++-
zh-cn/react-native-performance.md | 11 +-
zh-cn/react-native-thumbnail.md | 28 ++--
zh-cn/remobile-react-native-toast.md | 11 +-
20 files changed, 832 insertions(+), 193 deletions(-)
diff --git a/en/react-native-apple-authentication.md b/en/react-native-apple-authentication.md
index 85ee5581e..7739d2310 100644
--- a/en/react-native-apple-authentication.md
+++ b/en/react-native-apple-authentication.md
@@ -16,7 +16,15 @@
## Installation and Usage
-Find the matching version information in the release address of a third-party library: [@react-native-oh-library/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases). For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
+Please refer to the Releases page of the third-party library for the corresponding version information:
+
+| Third-party Library Version | Release Information | Supported RN Version |
+| ---------- | ------------------------------------------------------------ | ---------- |
+| 2.3.0 | [@react-native-oh-tpl/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
+| 2.3.1 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.72 |
+| 2.4.2 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.77 |
+
+For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
Go to the project directory and execute the following instruction:
@@ -27,13 +35,21 @@ Go to the project directory and execute the following instruction:
#### npm
```bash
+# V2.3.0
npm install @react-native-oh-tpl/react-native-apple-authentication
+
+# V2.3.1
+npm install @react-native-ohos/react-native-apple-authentication
```
#### yarn
```bash
+# V2.3.0
yarn add @react-native-oh-tpl/react-native-apple-authentication
+
+# V2.3.1
+yarn add @react-native-ohos/react-native-apple-authentication
```
#### **Configuring Sign in with Apple for the Web**
@@ -82,11 +98,16 @@ export default AppleAuthenticationDemo;
## Use Codegen
+> [!TIP] V2.3.1 no need to execute 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).
## Link
-Currently, HarmonyOS does not support AutoLink. Therefore, you need to manually configure the linking.
+Version >= @react-native-ohos/react-native-apple-authentication@2.3.1 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks.
+Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+Currently, Version <= @react-native-oh-tpl/react-native-apple-authentication@2.3.0-0.0.1@deprecated does not support AutoLink. Therefore, you need to manually configure the linking.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -111,6 +132,8 @@ Method 1 (recommended): Use the HAR file.
Open `entry/oh-package.json5` file and add the following dependencies:
+- V2.3.0
+
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -118,6 +141,15 @@ Open `entry/oh-package.json5` file and add the following dependencies:
}
```
+- V2.3.1
+
+```json
+"dependencies": {
+ "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
+ "@react-native-ohos/react-native-apple-authentication": "file:../../node_modules/@react-native-ohos/react-native-apple-authentication/harmony/react-native-apple-authentication.har"
+ }
+```
+
Click the `sync` button in the upper right corner.
Alternatively, run the following instruction on the terminal:
@@ -131,14 +163,83 @@ Method 2: Directly link to the source code.
> [!TIP] For details, see [Directly Linking Source Code](/en/link-source-code.md).
-### 3. Introducing RNAppleAuthPackage to ArkTS
+### 3.Configure CMakeLists and import RNOHAppleAuthenticationPackage
+
+> V2.3.1 need configure CMakeLists and import RNOHAppleAuthenticationPackage
+
+打开 `entry/src/main/cpp/CMakeLists.txt`,添加:
+
+```diff
+project(rnapp)
+cmake_minimum_required(VERSION 3.4.1)
+set(CMAKE_SKIP_BUILD_RPATH TRUE)
+set(RNOH_APP_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
+set(NODE_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../../../node_modules")
+set(OH_MODULE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules")
+set(RNOH_CPP_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp")
+set(RNOH_GENERATED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/generated")
+set(LOG_VERBOSITY_LEVEL 1)
+set(CMAKE_ASM_FLAGS "-Wno-error=unused-command-line-argument -Qunused-arguments")
+set(CMAKE_CXX_FLAGS "-fstack-protector-strong -Wl,-z,relro,-z,now,-z,noexecstack -s -fPIE -pie")
++ set(OH_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules")
+
+set(WITH_HITRACE_SYSTRACE 1) # for other CMakeLists.txt files to use
+add_compile_definitions(WITH_HITRACE_SYSTRACE)
+
+# (VM) Define a variable and assign it to the current module's cpp directory
+set(NATIVERENDER_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})
+
+# Add the Header File directory, including cpp, cpp/include, and tell cmake to find the Header Files introduced by the code here
+include_directories(${NATIVERENDER_ROOT_PATH}
+ ${NATIVERENDER_ROOT_PATH}/include)
+
+add_subdirectory("${RNOH_CPP_DIR}" ./rn)
++ add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-apple-authentication/src/main/cpp" ./react-native-apple-authentication)
+# RNOH_BEGIN: manual_package_linking_1
+
+file(GLOB GENERATED_CPP_FILES "${CMAKE_CURRENT_SOURCE_DIR}/generated/*.cpp") # this line is needed by codegen v1
+
+add_library(rnoh_app SHARED
+ ${GENERATED_CPP_FILES}
+ "./PackageProvider.cpp"
+ "${RNOH_CPP_DIR}/RNOHAppNapiBridge.cpp"
+)
+target_link_libraries(rnoh_app PUBLIC rnoh)
++ target_link_libraries(rnoh_app PUBLIC rnoh_apple_authentication)
+
+```
+
+open `entry/src/main/cpp/PackageProvider.cpp`,add:
+
+```diff
+
+#include "RNOH/PackageProvider.h"
+#include "generated/RNOHGeneratedPackage.h"
++ #include "RNOHAppleAuthenticationPackage.h"
+
+using namespace rnoh;
+
+std::vector> PackageProvider::getPackages(Package::Context ctx)
+{
+ return {
+ std::make_shared(ctx),
++ std::make_shared(ctx),
+ };
+}
+```
+
+### 4. Introducing RNAppleAuthPackage to ArkTS
Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following code:
```diff
...
+// V2.3.0
+ import { RNAppleAuthPackage } from '@react-native-oh-tpl/react-native-apple-authentication';
+// V2.3.1
++ import { RNAppleAuthPackage } from '@react-native-ohos/react-native-apple-authentication';
+
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
new SamplePackage(ctx),
@@ -147,7 +248,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 4. Running
+### 5. Running
Click the `sync` button in the upper right corner.
@@ -166,7 +267,13 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
-Check the release version information in the release address of the third-party library: [@react-native-oh-library/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases).
+Please refer to the Releases page of the third-party library for the corresponding version information
+
+| Third-party Library Version | Release Information | Supported RN Version |
+| ---------- | ------------------------------------------------------------ | ---------- |
+| 2.3.0 | [@react-native-oh-library/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
+| 2.3.1 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.72 |
+| 2.4.2 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.77 |
## Properties
diff --git a/en/react-native-community-checkbox.md b/en/react-native-community-checkbox.md
index b16be2b1c..fe566f742 100644
--- a/en/react-native-community-checkbox.md
+++ b/en/react-native-community-checkbox.md
@@ -7,7 +7,7 @@
This project is based on [@react-native-community/checkbox](https://github.com/react-native-checkbox/react-native-checkbox).
-This third-party library has been migrated to Gitee and is now available for direct download from npm, the new package name is:`@react-native-ohos/checkbox`, The version correspondence details are as follows:
+This third-party library has been migrated to GitCode and is now available for direct download from npm, the new package name is:`@react-native-ohos/checkbox`, The version correspondence details are as follows:
| Version | Package Name | Repository | Release |
| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- |
@@ -65,7 +65,9 @@ export default function CheckBoxExample() {
## 2. Manual Link
-This step provides guidance for manually configuring native dependencies.
+Version >= @react-native-ohos/checkbox@0.5.17 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
+
+Version <= @react-native-oh-tpl/checkbox@0.5.16 does not support AutoLink. Therefore, you need to manually configure the linking.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -236,7 +238,7 @@ Then build and run the code.
### 3.1. Compatibility
-Check the release version information in the release address of the third-party library: [@react-native-ohos/checkbox Releases](https://gitee.com/openharmony-sig/rntpc_react-native-checkbox/releases)
+Check the release version information in the release address of the third-party library: [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases)
## 4. Properties
diff --git a/en/react-native-default-preference.md b/en/react-native-default-preference.md
index 7e8da6d8d..dccaca5b7 100644
--- a/en/react-native-default-preference.md
+++ b/en/react-native-default-preference.md
@@ -14,26 +14,31 @@
> [!TIP] [ GitHub address](https://github.com/react-native-oh-library/react-native-default-preference)
-## Installation and Usage
+This third-party library has been migrated to Gitcode and is now available for direct download from npm, the new package name is: `@react-native-ohos/react-native-default-preference`, After introducing the new version of the third-party library, The version correspondence details are as follows:
-Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
+| Version | Package Name | Repository | Release |
+| ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
+| <= 1.4.4 | @react-native-oh-tpl/react-native-default-preference | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-default-preference) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-default-preference/releases) |
+| >= 1.4.5 | @react-native-ohos/react-native-default-preference | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) |
-Go to the project directory and execute the following instruction:
+## Installation and Usage
+Find the matching version information in the release address of a third-party library: [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases). For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
+Go to the project directory and execute the following instruction:
#### **npm**
```bash
-npm install @react-native-oh-tpl/react-native-default-preference
+npm install @react-native-ohos/react-native-default-preference
```
#### **yarn**
```bash
-yarn add @react-native-oh-tpl/react-native-default-preference
+yarn add @react-native-ohos/react-native-default-preference
```
@@ -45,33 +50,23 @@ The following code shows the basic use scenario of the repository:
```js
import React from "react";
import { Text, View } from "react-native";
-import DefaultPreference from "react-native-default-preference";
+import DefaultPreference from 'react-native-default-preference';
const App = () => {
- const handleSetItem = useCallback((key: string, value: string) => {
- RNDefaultPreference.set(key, value);
- }, []);
-
- const handleGetItem = useCallback((key: string) => {
- RNDefaultPreference?.get(key).then((res) => {
- console.log(res);
- });
- }, []);
+ const handleSetItem = useCallback((key: string, value: string) => {
+ RNDefaultPreference.set(key, value)
+ }, []);
+
+ const handleGetItem = useCallback((key: string) => {
+ RNDefaultPreference?.get(key).then(res => {
+ console.log(res)
+ });
+ }, []);
return (
-
-
-
-
+
+
+
+
);
};
@@ -80,11 +75,15 @@ export default App;
## Use Codegen
+Version >= @react-native-ohos/react-native-default-preference@1.4.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
-Currently, HarmonyOS does not support AutoLink. Therefore, you need to manually configure the linking.
+Version >= @react-native-ohos/react-native-default-preference@1.4.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
+
+Version <= @react-native-oh-tpl/react-native-default-preference@1.4.4 does not support AutoLink. Therefore, you need to manually configure the linking.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -112,7 +111,7 @@ Open `entry/oh-package.json5` file and add the following dependencies:
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-default-preference": "file:../../node_modules/@react-native-oh-tpl/react-native-default-preference/harmony/react_native_default_preference.har"
+ "@react-native-ohos/react-native-default-preference": "file:../../node_modules/@react-native-ohos/react-native-default-preference/harmony/react_native_default_preference.har"
}
```
@@ -136,7 +135,7 @@ Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following co
```diff
...
-+ import { RNDefaultPreferencePackage } from '@react-native-oh-tpl/react-native-default-preference/ts';
++ import { RNDefaultPreferencePackage } from '@react-native-ohos/react-native-default-preference/ts';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
@@ -166,7 +165,7 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
Check the release version information in the release address of the third-party library:
-[@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases)
+[@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases)
## API
diff --git a/en/react-native-fingerprint-scanner.md b/en/react-native-fingerprint-scanner.md
index 8e7c7a4d4..582a74281 100644
--- a/en/react-native-fingerprint-scanner.md
+++ b/en/react-native-fingerprint-scanner.md
@@ -16,24 +16,38 @@
## Installation and Usage
-Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/react-native-fingerprint-scanner Releases](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
+Please refer to the Releases page of the third-party library for the corresponding version information
-Go to the project directory and execute the following instruction:
+| Third-party Library Version | Release Information | Supported RN Version |
+| ---------- | ------------------------------------------------------------ | ---------- |
+| 6.0.0 | [@react-native-oh-tpl/react-native-fingerprint-scanner Releases](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) | 0.72 |
+| 6.0.1 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.72 |
+| 6.1.0 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.77 |
+For older versions not published on npm, please refer to the [Installation Guide](/zh-cn/tgz-usage.md) to install the tgz package.
+Go to the project directory and execute the following instruction:
#### **npm**
```bash
+#6.0.0
npm install @react-native-oh-tpl/react-native-fingerprint-scanner
+
+#6.0.1
+npm install @react-native-ohos/react-native-fingerprint-scanner
```
#### **yarn**
```bash
+#6.0.0
yarn add @react-native-oh-tpl/react-native-fingerprint-scanner
+
+#6.0.1
+yarn add @react-native-ohos/react-native-fingerprint-scanner
```
@@ -44,31 +58,42 @@ Quick use:
```js
import { View, Button } from "react-native";
-import FingerprintScanner from "react-native-fingerprint-scanner";
+import FingerprintScanner from 'react-native-fingerprint-scanner';
export default function App() {
- const handleClick = () => {
- FingerprintScanner.isSensorAvailable()
- .then((Biometrics) => {})
- .catch((err) => {});
- };
+ const handleClick = () => {
+ FingerprintScanner
+ .isSensorAvailable()
+ .then((Biometrics) => {
+ }).catch((err) => {
+ });
+ }
const handleScanner = () => {
- FingerprintScanner.authenticate({ title: "1111" })
- .then(() => {})
- .catch((err) => {});
- };
+ FingerprintScanner.authenticate({title: '1111'})
+ .then(() => {
+ }).catch((err) => {
+ });
+ }
const handleAttempt = () => {
- let eror = FingerprintScanner.onAttempt();
- };
+ let eror = FingerprintScanner.onAttempt()
+ }
const handleRelease = () => {
- FingerprintScanner.release();
- };
+ FingerprintScanner.release()
+ }
return (
-
);
}
@@ -76,11 +101,16 @@ export default function App() {
## Use Codegen
+> [!TIP] V6.0.1 no need to execute 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).
## Link
-Currently, HarmonyOS does not support AutoLink. Therefore, you need to manually configure the linking.
+Version >= @react-native-ohos/react-native-fingerprint-scanner@6.0.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
+
+Version <= @react-native-oh-tpl/react-native-fingerprint-scanner@6.0.0 does not support AutoLink. Therefore, you need to manually configure the linking.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -105,6 +135,8 @@ Method 1 (recommended): Use the HAR file.
Open `entry/oh-package.json5` file and add the following dependencies:
+- V6.0.0
+
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -112,6 +144,15 @@ Open `entry/oh-package.json5` file and add the following dependencies:
}
```
+- V6.0.1
+
+```json
+"dependencies": {
+ "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
+ "@react-native-ohos/react-native-fingerprint-scanner": "file:../../node_modules/@react-native-ohos/react-native-fingerprint-scanner/harmony/fingerprint_scanner.har"
+ }
+```
+
Click the `sync` button in the upper right corner.
Alternatively, run the following instruction on the terminal:
@@ -131,9 +172,12 @@ Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following co
```diff
...
-
+//6.0.0
+ import { RNFingerprintScannerPackage } from '@react-native-oh-tpl/react-native-fingerprint-scanner/ts';
+//6.0.1
++ import { RNFingerprintScannerPackage } from '@react-native-ohos/react-native-fingerprint-scanner/ts';
+
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
new SamplePackage(ctx),
@@ -142,7 +186,69 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 4. Running
+### 4. Configure CMakeLists and import FingerprintScannerPackage
+
+> [!TIP] If using version 6.0.0, please skip this chapter
+
+open `entry/src/main/cpp/CMakeLists.txt`,add:
+
+```diff
+project(rnapp)
+cmake_minimum_required(VERSION 3.4.1)
+set(CMAKE_SKIP_BUILD_RPATH TRUE)
+set(RNOH_APP_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
+set(NODE_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../../../node_modules")
++ set(OH_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules")
+set(RNOH_CPP_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../../../../react-native-harmony/harmony/cpp")
+set(LOG_VERBOSITY_LEVEL 1)
+set(CMAKE_ASM_FLAGS "-Wno-error=unused-command-line-argument -Qunused-arguments")
+set(CMAKE_CXX_FLAGS "-fstack-protector-strong -Wl,-z,relro,-z,now,-z,noexecstack -s -fPIE -pie")
+set(WITH_HITRACE_SYSTRACE 1) # for other CMakeLists.txt files to use
+add_compile_definitions(WITH_HITRACE_SYSTRACE)
+
+add_subdirectory("${RNOH_CPP_DIR}" ./rn)
+
+# RNOH_BEGIN: manual_package_linking_1
+add_subdirectory("../../../../sample_package/src/main/cpp" ./sample-package)
++ add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-fingerprint-scanner/src/main/cpp" ./fingerprint_scanner)
+
+# RNOH_END: manual_package_linking_1
+
+file(GLOB GENERATED_CPP_FILES "./generated/*.cpp")
+
+add_library(rnoh_app SHARED
+ ${GENERATED_CPP_FILES}
+ "./PackageProvider.cpp"
+ "${RNOH_CPP_DIR}/RNOHAppNapiBridge.cpp"
+)
+target_link_libraries(rnoh_app PUBLIC rnoh)
+
+# RNOH_BEGIN: manual_package_linking_2
+target_link_libraries(rnoh_app PUBLIC rnoh_sample_package)
++ target_link_libraries(rnoh_app PUBLIC fingerprint_scanner)
+# RNOH_END: manual_package_linking_2
+```
+
+open `entry/src/main/cpp/PackageProvider.cpp`,add:
+
+```diff
+#include "RNOH/PackageProvider.h"
+#include "generated/RNOHGeneratedPackage.h"
+#include "SamplePackage.h"
++ #include "FingerprintScannerPackage.h"
+
+using namespace rnoh;
+
+std::vector> PackageProvider::getPackages(Package::Context ctx) {
+ return {
+ std::make_shared(ctx),
+ std::make_shared(ctx),
++ std::make_shared(ctx),
+ };
+}
+```
+
+### 5. Running
Click the `sync` button in the upper right corner.
@@ -161,7 +267,13 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
-Check the release version information in the release address of the third-party library: [@react-native-oh-tpl/react-native-fingerprint-scanner Releases](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases)
+Please refer to the Releases page of the third-party library for the corresponding version information
+
+| Third-party Library Version | Release Information | Supported RN Version |
+| ---------- | ------------------------------------------------------------ | ---------- |
+| 6.0.0 | [@react-native-oh-tpl/react-native-fingerprint-scanner Releases](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) | 0.72 |
+| 6.0.1 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.72 |
+| 6.1.0 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.77 |
### Permission Requirements
diff --git a/en/react-native-haptic-feedback.md b/en/react-native-haptic-feedback.md
index 49094ddd6..e2efbd8fe 100644
--- a/en/react-native-haptic-feedback.md
+++ b/en/react-native-haptic-feedback.md
@@ -17,22 +17,36 @@
## Installation and Usage
-Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
+Please refer to the Releases page of the third-party library for the corresponding version information
-Go to the project directory and execute the following instruction:
+| Third-party Library Version | Release Information | Supported RN Version |
+| ---------- | ------------------------------------------------------------ | ---------- |
+| 2.2.1 | [@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
+| 2.2.2 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.72 |
+| 2.3.4 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.77 |
+For older versions not published on npm, please refer to the [Installation Guide](/zh-cn/tgz-usage.md) to install the tgz package.
+Go to the project directory and execute the following instruction:
#### **npm**
```bash
+# V2.2.1
npm install @react-native-oh-tpl/react-native-haptic-feedback
+
+# V2.2.2
+npm install @react-native-ohos/react-native-haptic-feedback
```
#### **yarn**
```bash
+# V2.2.1
yarn add @react-native-oh-tpl/react-native-haptic-feedback
+
+# V2.2.2
+yarn add @react-native-ohos/react-native-haptic-feedback
```
The following code shows the basic use scenario of the repository:
@@ -40,15 +54,38 @@ The following code shows the basic use scenario of the repository:
> [!WARNING] The name of the imported repository remains unchanged.
```js
-import React from "react";
-import { SafeAreaView, ScrollView, Button } from "react-native";
-import ReactNativeHapticFeedback from "react-native-haptic-feedback";
+import React from "react"
+import { SafeAreaView, ScrollView, Button } from "react-native"
+import ReactNativeHapticFeedback from "react-native-haptic-feedback"
const options = {
enableVibrateFallback: false,
ignoreAndroidSystemSettings: false,
-};
+}
-const methods = [
+const methods: Array<
+ | "impactLight"
+ | "impactMedium"
+ | "impactHeavy"
+ | "notificationSuccess"
+ | "notificationWarning"
+ | "notificationError"
+ | "rigid"
+ | "soft"
+ | "selection"
+ | "clockTick"
+ | "contextClick"
+ | "keyboardPress"
+ | "keyboardRelease"
+ | "keyboardTap"
+ | "longPress"
+ | "textHandleMove"
+ | "virtualKey"
+ | "virtualKeyRelease"
+ | "effectClick"
+ | "effectDoubleClick"
+ | "effectHeavyClick"
+ | "effectTick"
+> = [
"impactLight",
"impactMedium",
"impactHeavy",
@@ -71,7 +108,7 @@ const methods = [
"effectDoubleClick",
"effectHeavyClick",
"effectTick",
-];
+]
export const HapticFeedbackExample = () => {
return (
@@ -84,21 +121,28 @@ export const HapticFeedbackExample = () => {
onPress={() => ReactNativeHapticFeedback.trigger(item, options)}
key={item}
>
- );
+ )
})}
- );
-};
+ )
+}
+
+export default HapticFeedbackExample;
```
## Use Codegen
+> [!TIP] V2.2.2 no need to execute 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).
## Link
-Currently, HarmonyOS does not support AutoLink. Therefore, you need to manually configure the linking.
+Version >= @react-native-ohos/react-native-haptic-feedback@2.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
+
+Version <= @react-native-oh-tpl/react-native-haptic-feedback@2.2.1 does not support AutoLink. Therefore, you need to manually configure the linking.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -123,11 +167,21 @@ Method 1 (recommended): Use the HAR file.
Open `entry/oh-package.json5` file and add the following dependencies:
+- V2.2.1
+
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
"@react-native-oh-tpl/react-native-haptic-feedback": "file:../../node_modules/@react-native-oh-tpl/react-native-haptic-feedback/harmony/haptic_feedback.har"
+ }
+```
+- V2.2.2
+
+```json
+"dependencies": {
+ "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
+ "@react-native-ohos/react-native-haptic-feedback": "file:../../node_modules/@react-native-ohos/react-native-haptic-feedback/harmony/haptic_feedback.har"
}
```
@@ -144,15 +198,79 @@ Method 2: Directly link to the source code.
> [!TIP] For details, see [Directly Linking Source Code](/en/link-source-code.md).
-### 3. Introducing RNHapticFeedbackPackage to ArkTS
+### 3. Configure CMakeLists and import RNHapticFeedbackPackage
+
+> [!TIP] If using version 2.2.1, please skip this chapter
+
+open `entry/src/main/cpp/CMakeLists.txt`,add:
+
+```diff
+project(rnapp)
+cmake_minimum_required(VERSION 3.4.1)
+set(CMAKE_SKIP_BUILD_RPATH TRUE)
+set(RNOH_APP_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
+set(NODE_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../../../node_modules")
++ set(OH_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules")
+set(RNOH_CPP_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../../../../react-native-harmony/harmony/cpp")
+set(LOG_VERBOSITY_LEVEL 1)
+set(CMAKE_ASM_FLAGS "-Wno-error=unused-command-line-argument -Qunused-arguments")
+set(CMAKE_CXX_FLAGS "-fstack-protector-strong -Wl,-z,relro,-z,now,-z,noexecstack -s -fPIE -pie")
+set(WITH_HITRACE_SYSTRACE 1) # for other CMakeLists.txt files to use
+add_compile_definitions(WITH_HITRACE_SYSTRACE)
+
+add_subdirectory("${RNOH_CPP_DIR}" ./rn)
+
+# RNOH_BEGIN: manual_package_linking_1
+add_subdirectory("../../../../sample_package/src/main/cpp" ./sample-package)
++ add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-haptic-feedback/src/main/cpp" ./haptic-feedback)
+# RNOH_END: manual_package_linking_1
+
+file(GLOB GENERATED_CPP_FILES "./generated/*.cpp")
+
+add_library(rnoh_app SHARED
+ ${GENERATED_CPP_FILES}
+ "./PackageProvider.cpp"
+ "${RNOH_CPP_DIR}/RNOHAppNapiBridge.cpp"
+)
+target_link_libraries(rnoh_app PUBLIC rnoh)
+
+# RNOH_BEGIN: manual_package_linking_2
+target_link_libraries(rnoh_app PUBLIC rnoh_sample_package)
++ target_link_libraries(rnoh_app PUBLIC rnoh_haptic_feedback)
+# RNOH_END: manual_package_linking_2
+```
+
+open `entry/src/main/cpp/PackageProvider.cpp`,add:
+
+```diff
+#include "RNOH/PackageProvider.h"
+#include "generated/RNOHGeneratedPackage.h"
+#include "SamplePackage.h"
++ #include "RNHapticFeedbackPackage.h"
+
+using namespace rnoh;
+
+std::vector> PackageProvider::getPackages(Package::Context ctx) {
+ return {
+ std::make_shared(ctx),
+ std::make_shared(ctx),
++ std::make_shared(ctx),
+ };
+}
+```
+
+### 4. Introducing RNImageColorsPackage to ArkTS
Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following code:
```diff
...
-
+// V2.2.1
+ import { RNHapticFeedbackPackage } from '@react-native-oh-tpl/react-native-haptic-feedback/ts'
+// V2.2.2
++ import { RNHapticFeedbackPackage } from '@react-native-ohos/react-native-haptic-feedback/ts'
+
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
new SamplePackage(ctx),
@@ -161,7 +279,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 4. Running
+### 5. Running
Click the `sync` button in the upper right corner.
@@ -180,12 +298,17 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
-Check the release version information in the release address of the third-party library: [@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases)
+Please refer to the Releases page of the third-party library for the corresponding version information
+
+| Third-party Library Version | Release Information | Supported RN Version |
+| ---------- | ------------------------------------------------------------ | ---------- |
+| 2.2.1 | [@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
+| 2.2.2 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.72 |
+| 2.3.4 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.77 |
### Permission Requirements
Add the configuration to the **entry/src/main/module.json5** file.
-
```js
"requestPermissions": [ { "name": "ohos.permission.VIBRATE" }, ]
```
diff --git a/en/react-native-http-bridge.md b/en/react-native-http-bridge.md
index 547f43a69..e570efdf1 100644
--- a/en/react-native-http-bridge.md
+++ b/en/react-native-http-bridge.md
@@ -16,24 +16,29 @@
## Installation and Usage
-Find the matching version information in the release address of a third-party library:[@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
+This third-party library has been migrated to Gitcode and is now available for direct download from npm, the new package name is: `@react-native-ohos/react-native-http-bridge`, After introducing the new version of the third-party library, The version correspondence details are as follows:
-Go to the project directory and execute the following instruction:
+| Version | Package Name | Repository | Release |
+|---------------------------|------------------------------------------------| ------------------------------------------------------------ | ------------------------------------------------------------ |
+| <= 0.6.1 | @react-native-oh-tpl/react-native-http-bridge | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-http-bridge) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-http-bridge/releases) |
+| >= 0.6.2 | @react-native-ohos/react-native-http-bridge | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) |
+Find the matching version information in the release address of a third-party library: [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
+Go to the project directory and execute the following instruction:
#### **npm**
```bash
-npm install @react-native-oh-tpl/react-native-http-bridge
+npm install @react-native-ohos/react-native-http-bridge
```
#### **yarn**
```bash
-yarn add @react-native-oh-tpl/react-native-http-bridge
+yarn add @react-native-ohos/react-native-http-bridge
```
@@ -141,13 +146,16 @@ export default HttpBridgeDemo;
## Use Codegen
+Version >= @react-native-ohos/react-native-http-bridge@0.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
-The HarmonyOS implementation of this library depends on the native code from @ohos/polka. 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.
+Version >= @react-native-ohos/react-native-http-bridge@0.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
-Currently, HarmonyOS does not support AutoLink. Therefore, you need to manually configure the linking.
+Version <= @react-native-oh-tpl/react-native-http-bridge@0.6.1 does not support Autolink. Therefore, you need to manually configure the linking.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -166,7 +174,8 @@ Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
Currently, two methods are available:
-
+1. Introduced through the har package (this method will be abandoned after the IDE improves the relevant functions, and it is currently the preferred method);
+2. Link the source code directly.
Method 1 (recommended): Use the HAR file.
@@ -177,7 +186,7 @@ Open `entry/oh-package.json5` file and add the following dependencies:
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-http-bridge": "file:../../node_modules/@react-native-oh-tpl/react-native-http-bridge/harmony/http_bridge.har"
+ "@react-native-ohos/react-native-http-bridge": "file:../../node_modules/@react-native-ohos/react-native-http-bridge/harmony/http_bridge.har"
}
```
@@ -200,7 +209,7 @@ Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following co
```diff
...
-+ import { RNHttpBridgePackage } from "@react-native-oh-tpl/react-native-http-bridge/ts";
++ import { RNHttpBridgePackage } from "@react-native-ohos/react-native-http-bridge/ts";
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
@@ -230,7 +239,7 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
-Check the release version information in the release address of the third-party library: [@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases)
+Check the release version information in the release address of the third-party library: [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases)
### Permission Requirements
diff --git a/en/react-native-localization.md b/en/react-native-localization.md
index 82efbbee4..7653fd6a7 100644
--- a/en/react-native-localization.md
+++ b/en/react-native-localization.md
@@ -16,10 +16,16 @@ Template version: v0.2.2
> [!TIP] [GitHub address](https://github.com/react-native-oh-library/ReactNativeLocalization)
+This third-party library has been migrated to Gitcode and is now available for direct download from npm, the new package name is: `@react-native-ohos/react-native-localization`, After introducing the new version of the third-party library, The version correspondence details are as follows:
+
+| Version | Package Name | Repository | Release |
+| ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
+| <= 2.3.2-0.0.1@deprecated | @react-native-oh-tpl/react-native-localization | [Github(deprecated)](https://github.com/react-native-oh-library/ReactNativeLocalization) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/ReactNativeLocalization/releases) |
+| >= 2.3.3 | @react-native-ohos/react-native-localization | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-localization) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) |
## Installation and Usage
-Find the matching version information in the release address of a third-party library:[@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/ReactNativeLocalization/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
+Find the matching version information in the release address of a third-party library:[@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
Go to the project directory and execute the following instruction:
@@ -29,13 +35,13 @@ Go to the project directory and execute the following instruction:
#### **npm**
```bash
-npm install @react-native-oh-tpl/react-native-localization
+npm install @react-native-ohos/react-native-localization
```
#### **yarn**
```bash
-yarn add @react-native-oh-tpl/react-native-localization
+yarn add @react-native-ohos/react-native-localization
```
@@ -168,11 +174,16 @@ const styles = StyleSheet.create({
```
## Use Codegen
+Version >= @react-native-ohos/react-native-localization@2.3.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
-Currently, HarmonyOS does not support AutoLink. Therefore, you need to manually configure the linking.
+Version >= @react-native-ohos/react-native-localization@2.3.3 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks.
+Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+Currently, Version <= @react-native-oh-tpl/react-native-localization@2.3.2-0.0.1@deprecated does not support AutoLink. Therefore, you need to manually configure the linking.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -202,7 +213,7 @@ Open `entry/oh-package.json5` file and add the following dependencies:
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-localization": "file:../../node_modules/@react-native-oh-tpl/react-native-localization/harmony/react_localization.har"
+ "@react-native-ohos/react-native-localization": "file:../../node_modules/@react-native-ohos/react-native-localization/harmony/react_localization.har"
}
```
@@ -225,7 +236,7 @@ Method 2: Directly link to the source code.
```diff
...
-+ import { RNReactLocalizationPackage } from '@react-native-oh-tpl/react-native-localization';
++ import { RNReactLocalizationPackage } from '@react-native-ohos/react-native-localization';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
@@ -254,7 +265,7 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
-Check the release version information in the release address of the third-party library: [@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/ReactNativeLocalization/releases)
+Check the release version information in the release address of the third-party library: [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases)
diff --git a/en/react-native-performance.md b/en/react-native-performance.md
index ac3382170..15d32033c 100644
--- a/en/react-native-performance.md
+++ b/en/react-native-performance.md
@@ -17,7 +17,15 @@
## Installation and Usage
-Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/react-native-performance Releases](https://github.com/react-native-oh-library/react-native-performance/releases). For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
+Please refer to the Releases page of the third-party library for the corresponding version information:
+
+| Third-party Library Version | Release Information | Supported RN Version |
+| ---------- | ------------------------------------------------------------ | ---------- |
+| 5.1.2 | [@react-native-oh-tpl/react-native-performance Releases](https://github.com/react-native-oh-library/react-native-performance/releases) | 0.72 |
+| 5.1.3 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.72 |
+| 5.2.0 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.77 |
+
+For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
Go to the project directory and execute the following instruction:
@@ -28,13 +36,21 @@ Go to the project directory and execute the following instruction:
#### **npm**
```bash
+#5.1.2
npm install @react-native-oh-tpl/react-native-performance
+
+#5.1.3
+npm install @react-native-ohos/react-native-performance
```
#### **yarn**
```bash
+#5.1.2
yarn add @react-native-oh-tpl/react-native-performance
+
+#5.1.3
+yarn add @react-native-ohos/react-native-performance
```
@@ -201,11 +217,16 @@ const styles = StyleSheet.create({
## Use Codegen
+> [!TIP] V5.1.3 no need to execute 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).
## Link
-Currently, HarmonyOS does not support AutoLink. Therefore, you need to manually configure the linking.
+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
+
+Currently, Version <= @react-native-oh-tpl/react-native-performance@5.1.2-0.0.3@deprecated does not support AutoLink. Therefore, you need to manually configure the linking.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -230,6 +251,8 @@ Method 1 (recommended): Use the HAR file.
Open `entry/oh-package.json5` file and add the following dependencies:
+- V5.1.2
+
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -237,6 +260,15 @@ Open `entry/oh-package.json5` file and add the following dependencies:
}
```
+- V5.1.3
+
+```json
+"dependencies": {
+ "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
+ "@react-native-ohos/react-native-performance": "file:../../node_modules/@react-native-ohos/react-native-performance/harmony/react_native_performance.har"
+ }
+```
+
Click the `sync` button in the upper right corner.
Alternatively, run the following instruction on the terminal:
@@ -256,7 +288,10 @@ Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following co
```diff
...
+ //5.1.2
+ import {RNPerformancePackage} from '@react-native-oh-tpl/react-native-performance/ts';
+ //5.1.3
++ import {RNPerformancePackage} from '@react-native-ohos/react-native-performance/ts';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
@@ -266,7 +301,69 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 4. Running
+### 4.Configure CMakeLists and import PerformancePackage
+
+> [!TIP] If using version 5.1.2, please skip this chapter
+
+打开 `entry/src/main/cpp/CMakeLists.txt`,添加:
+
+```diff
+project(rnapp)
+cmake_minimum_required(VERSION 3.4.1)
+set(CMAKE_SKIP_BUILD_RPATH TRUE)
+set(RNOH_APP_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
+set(NODE_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../../../node_modules")
++ set(OH_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules")
+set(RNOH_CPP_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../../../../react-native-harmony/harmony/cpp")
+set(LOG_VERBOSITY_LEVEL 1)
+set(CMAKE_ASM_FLAGS "-Wno-error=unused-command-line-argument -Qunused-arguments")
+set(CMAKE_CXX_FLAGS "-fstack-protector-strong -Wl,-z,relro,-z,now,-z,noexecstack -s -fPIE -pie")
+set(WITH_HITRACE_SYSTRACE 1) # for other CMakeLists.txt files to use
+add_compile_definitions(WITH_HITRACE_SYSTRACE)
+
+add_subdirectory("${RNOH_CPP_DIR}" ./rn)
+
+# RNOH_BEGIN: manual_package_linking_1
+add_subdirectory("../../../../sample_package/src/main/cpp" ./sample-package)
++ add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-performance/src/main/cpp" ./performance)
+
+# RNOH_END: manual_package_linking_1
+
+file(GLOB GENERATED_CPP_FILES "./generated/*.cpp")
+
+add_library(rnoh_app SHARED
+ ${GENERATED_CPP_FILES}
+ "./PackageProvider.cpp"
+ "${RNOH_CPP_DIR}/RNOHAppNapiBridge.cpp"
+)
+target_link_libraries(rnoh_app PUBLIC rnoh)
+
+# RNOH_BEGIN: manual_package_linking_2
+target_link_libraries(rnoh_app PUBLIC rnoh_sample_package)
++ target_link_libraries(rnoh_app PUBLIC rnoh_performance)
+# RNOH_END: manual_package_linking_2
+```
+
+打开 `entry/src/main/cpp/PackageProvider.cpp`,添加:
+
+```diff
+#include "RNOH/PackageProvider.h"
+#include "generated/RNOHGeneratedPackage.h"
+#include "SamplePackage.h"
++ #include "PerformancePackage.h"
+
+using namespace rnoh;
+
+std::vector> PackageProvider::getPackages(Package::Context ctx) {
+ return {
+ std::make_shared(ctx),
+ std::make_shared(ctx),
++ std::make_shared(ctx),
+ };
+}
+```
+
+### 5. Running
Click the `sync` button in the upper right corner.
@@ -285,7 +382,13 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
-Check the release version information in the release address of the third-party library: [@react-native-oh-tpl/react-native-performance Releases](https://github.com/react-native-oh-library/react-native-performance/releases)
+Please refer to the Releases page of the third-party library for the corresponding version information:
+
+| Third-party Library Version | Release Information | Supported RN Version |
+| ---------- | ------------------------------------------------------------ | ---------- |
+| 5.1.2 | [@react-native-oh-tpl/react-native-performance Releases](https://github.com/react-native-oh-library/react-native-performance/releases) | 0.72 |
+| 5.1.3 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.72 |
+| 5.2.0 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.77 |
## Performance
diff --git a/en/react-native-thumbnail.md b/en/react-native-thumbnail.md
index def45a3c3..44de0e1a6 100644
--- a/en/react-native-thumbnail.md
+++ b/en/react-native-thumbnail.md
@@ -11,28 +11,33 @@
-> [!TIP] [Github address](https://github.com/react-native-oh-library/react-native-thumbnail)
+> [!TIP] [GitHub address](https://github.com/react-native-oh-library/react-native-thumbnail)
-## Installation and Usage
+This third-party library has been migrated to Gitcode and is now available for direct download from npm, the new package name is: `@react-native-ohos/react-native-thumbnail`, After introducing the new version of the third-party library, The version correspondence details are as follows:
-Find the matching version information in the release address of a third-party library and download an applicable .tgz package: [@react-native-oh-tpl/react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases).
+| Version | Package Name | Repository | Release |
+| ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
+| <= 1.1.3-0.0.1@deprecated | @react-native-oh-tpl/react-native-thumbnail | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-thumbnail) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-thumbnail/releases) |
+| >= 1.1.4 | @react-native-ohos/react-native-thumbnail | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) |
-Go to the project directory and execute the following instruction:
+## Installation and Usage
+Find the matching version information in the release address of a third-party library and download an applicable .tgz package: [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases).
+Go to the project directory and execute the following instruction:
#### **npm**
```bash
-npm install @react-native-oh-tpl/react-native-thumbnail
+npm install @react-native-ohos/react-native-thumbnail
```
#### **yarn**
```bash
-yarn add @react-native-oh-tpl/react-native-thumbnail
+yarn add @react-native-ohos/react-native-thumbnail
```
@@ -40,7 +45,7 @@ yarn add @react-native-oh-tpl/react-native-thumbnail
The following code shows the basic use scenario of the repository:
> [!WARNING] The name of the imported repository remains unchanged.
-> [!TIP] The example depends on the react-native-image-picker library, see the [@react-native-oh-tpl/react-native-image-picker document](https://gitee.com/react-native-oh-library/usage-docs/blob/master/en/react-native-image-picker.md) for introducing.
+> [!TIP] The example depends on the react-native-image-picker library, see the [@react-native-ohos/react-native-image-picker document](https://gitee.com/react-native-oh-library/usage-docs/blob/master/en/react-native-image-picker.md) for introducing.
```js
import React from 'react';
import { StyleSheet, Text, View, TouchableOpacity, Image } from 'react-native';
@@ -156,11 +161,16 @@ const styles = StyleSheet.create({
## Use Codegen
+Version >= @react-native-ohos/react-native-thumbnail@1.1.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
-Currently, HarmonyOS does not support AutoLink. Therefore, you need to manually configure the linking.
+Version >= @react-native-ohos/react-native-thumbnail@1.1.4 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks.
+Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+Currently, Version <= @react-native-oh-tpl/react-native-thumbnail@1.1.3-0.0.1@deprecated does not support AutoLink. Therefore, you need to manually configure the linking.
Open the harmony directory of the HarmonyOS project in DevEco Studio.
@@ -191,7 +201,7 @@ Open entry/oh-package.json5 file and add the following dependencies:
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-thumbnail": "file:../../node_modules/@react-native-oh-tpl/react-native-thumbnail/harmony/thumbnail.har"
+ "@react-native-ohos/react-native-thumbnail": "file:../../node_modules/@react-native-ohos/react-native-thumbnail/harmony/thumbnail.har"
}
```
@@ -214,7 +224,7 @@ Open the entry/src/main/ets/RNPackagesFactory.ts file and add the following code
```diff
import { RNPackageContext, RNPackage } from '@rnoh/react-native-openharmony/ts';
-+import { RNThumbnailPackage } from '@react-native-oh-tpl/react-native-thumbnail/ts';
++import { RNThumbnailPackage } from '@react-native-ohos/react-native-thumbnail/ts';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
@@ -242,7 +252,7 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
-Check the release version information in the release address of the third-party library: [react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases)
+Check the release version information in the release address of the third-party library: [react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases)
## API
diff --git a/en/remobile-react-native-toast.md b/en/remobile-react-native-toast.md
index b3a6f371d..6d3a2df2e 100644
--- a/en/remobile-react-native-toast.md
+++ b/en/remobile-react-native-toast.md
@@ -17,24 +17,38 @@
## Installation and Usage
-Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases).For older versions that have not been released to npm, please refer to the [Installation Guide](/en/tgz-usage-en.md) to install the tgz package.
+Please refer to the Releases page of the third-party library for the corresponding version information
-Go to the project directory and execute the following instruction:
+| Third-party Library Version | Release Information | Supported RN Version |
+| ---------- | ------------------------------------------------------------ | ---------- |
+| 1.0.7 | [@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases) | 0.72 |
+| 1.0.8 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.72 |
+| 1.1.0 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.77 |
+For older versions not published on npm, please refer to the [Installation Guide](/zh-cn/tgz-usage.md) to install the tgz package.
+Go to the project directory and execute the following instruction:
#### **npm**
```bash
+#1.0.7
npm install @react-native-oh-tpl/react-native-toast
+
+#1.0.8
+npm install @react-native-ohos/react-native-toast
```
#### **yarn**
```bash
+#1.0.7
yarn add @react-native-oh-tpl/react-native-toast
+
+#1.0.8
+yarn add @react-native-ohos/react-native-toast
```
@@ -104,11 +118,16 @@ export default ToastMasterDemo;
## Use Codegen
-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).
+> [!TIP] V1.0.8 no need to execute 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).
## Link
-Currently, HarmonyOS does not support AutoLink. Therefore, you need to manually configure the linking.
+Version >= @react-native-ohos/react-native-toast@1.0.8 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks.
+Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+Version <= @react-native-oh-tpl/react-native-toast@1.0.7 does not support AutoLink. Therefore, you need to manually configure the linking.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -127,13 +146,14 @@ Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
Currently, two methods are available:
-
Method 1 (recommended): Use the HAR file.
> [!TIP] The HAR file is stored in the `harmony` directory in the installation path of the third-party library.
Open `entry/oh-package.json5` file and add the following dependencies:
+- V1.0.7
+
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -141,6 +161,15 @@ Open `entry/oh-package.json5` file and add the following dependencies:
}
```
+- V1.0.8
+
+```json
+"dependencies": {
+"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
+"@react-native-ohos/react-native-toast": "file:../../node_modules/@react-native-ohos/react-native-toast/harmony/rn_toast.har"
+}
+```
+
Click the `sync` button in the upper right corner.
Alternatively, run the following instruction on the terminal:
@@ -160,8 +189,10 @@ Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following co
```diff
...
+ //1.0.7
+ import {ToastPackage} from '@react-native-oh-tpl/react-native-toast/ts';
-
+ //1.0.8
++ import {ToastPackage} from '@react-native-ohos/react-native-toast/ts';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
new SamplePackage(ctx),
@@ -170,7 +201,68 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
}
```
-### 4. Running
+### 4. Configure CMakeLists and import ToastPackage
+
+> [!TIP] If using version 1.0.7, please skip this chapter
+
+open `entry/src/main/cpp/CMakeLists.txt`,add:
+
+```diff
+project(rnapp)
+cmake_minimum_required(VERSION 3.4.1)
+set(CMAKE_SKIP_BUILD_RPATH TRUE)
+set(RNOH_APP_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
+set(NODE_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../../../node_modules")
++ set(OH_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules")
+set(RNOH_CPP_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../../../../react-native-harmony/harmony/cpp")
+set(LOG_VERBOSITY_LEVEL 1)
+set(CMAKE_ASM_FLAGS "-Wno-error=unused-command-line-argument -Qunused-arguments")
+set(CMAKE_CXX_FLAGS "-fstack-protector-strong -Wl,-z,relro,-z,now,-z,noexecstack -s -fPIE -pie")
+set(WITH_HITRACE_SYSTRACE 1) # for other CMakeLists.txt files to use
+add_compile_definitions(WITH_HITRACE_SYSTRACE)
+
+add_subdirectory("${RNOH_CPP_DIR}" ./rn)
+
+# RNOH_BEGIN: manual_package_linking_1
+add_subdirectory("../../../../sample_package/src/main/cpp" ./sample-package)
++ add_subdirectory("${OH_MODULES}/@react-native-ohos/voice/src/main/cpp" ./voice)
+# RNOH_END: manual_package_linking_1
+
+file(GLOB GENERATED_CPP_FILES "./generated/*.cpp")
+
+add_library(rnoh_app SHARED
+ ${GENERATED_CPP_FILES}
+ "./PackageProvider.cpp"
+ "${RNOH_CPP_DIR}/RNOHAppNapiBridge.cpp"
+)
+target_link_libraries(rnoh_app PUBLIC rnoh)
+
+# RNOH_BEGIN: manual_package_linking_2
+target_link_libraries(rnoh_app PUBLIC rnoh_sample_package)
++ target_link_libraries(rnoh_app PUBLIC rnoh_voice)
+# RNOH_END: manual_package_linking_2
+```
+
+open `entry/src/main/cpp/PackageProvider.cpp`,add:
+
+```diff
+#include "RNOH/PackageProvider.h"
+#include "generated/RNOHGeneratedPackage.h"
+#include "SamplePackage.h"
++ #include "VoicePackage.h"
+
+using namespace rnoh;
+
+std::vector> PackageProvider::getPackages(Package::Context ctx) {
+ return {
+ std::make_shared(ctx),
+ std::make_shared(ctx),
++ std::make_shared(ctx)
+ };
+}
+```
+
+### 5. Running
Click the `sync` button in the upper right corner.
@@ -189,7 +281,13 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
-Check the release version information in the release address of the third-party library:[@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases)
+Please refer to the Releases page of the third-party library for the corresponding version information
+
+| Third-party Library Version | Release Information | Supported RN Version |
+| ---------- | ------------------------------------------------------------ | ---------- |
+| 1.0.7 | [@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases) | 0.72 |
+| 1.0.8 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.72 |
+| 1.1.0 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.77 |
## API
diff --git a/zh-cn/react-native-apple-authentication.md b/zh-cn/react-native-apple-authentication.md
index 7f991cd8a..704b1eec7 100644
--- a/zh-cn/react-native-apple-authentication.md
+++ b/zh-cn/react-native-apple-authentication.md
@@ -22,8 +22,9 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 2.3.0 | [@react-native-oh-library/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
-| 2.4.1 | [@react-native-oh-library/react-native-apple-authentication Releases]() | 0.77 |
+| 2.3.0 | [@react-native-oh-tpl/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
+| 2.3.1 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.72 |
+| 2.4.2 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.77 |
对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
@@ -37,7 +38,7 @@
# V2.3.0
npm install @react-native-oh-tpl/react-native-apple-authentication
-# 2.4.1
+# V2.3.1
npm install @react-native-ohos/react-native-apple-authentication
```
@@ -47,7 +48,7 @@ npm install @react-native-ohos/react-native-apple-authentication
# V2.3.0
yarn add @react-native-oh-tpl/react-native-apple-authentication
-# 2.4.1
+# V2.3.1
yarn add @react-native-ohos/react-native-apple-authentication
```
@@ -93,13 +94,16 @@ export default AppleAuthenticationDemo;
## 使用 Codegen
-> [!TIP] V2.3.0 不需要执行 Codegen。
+> [!TIP] V2.3.1 不需要执行 Codegen。
本库已经适配了 Codegen ,在使用前需要主动执行生成三方库桥接代码,详细请参考 [Codegen 文档](/zh-cn/codegen.md)。
## Link
-目前 HarmonyOS 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+Version >= @react-native-ohos/react-native-apple-authentication@2.3.1,已支持 Autolink,无需手动配置,目前只支持72框架。
+Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+Version <= @react-native-oh-tpl/react-native-apple-authentication@2.3.0-0.0.1@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
@@ -136,7 +140,7 @@ export default AppleAuthenticationDemo;
}
```
-- V2.4.1
+- V2.3.1
```json
"dependencies": {
@@ -160,7 +164,7 @@ ohpm install
### 3.配置 CMakeLists 和引入 RNOHAppleAuthenticationPackage
-> V2.4.1 需要配置 CMakeLists 和引入 RNOHAppleAuthenticationPackage。
+> V2.3.1 需要配置 CMakeLists 和引入 RNOHAppleAuthenticationPackage。
打开 `entry/src/main/cpp/CMakeLists.txt`,添加:
@@ -232,7 +236,7 @@ std::vector> PackageProvider::getPackages(Package::Cont
// V2.3.0
+ import { RNAppleAuthPackage } from '@react-native-oh-tpl/react-native-apple-authentication';
-// V2.4.1
+// V2.3.1
+ import { RNAppleAuthPackage } from '@react-native-ohos/react-native-apple-authentication';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
@@ -267,7 +271,8 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
| 2.3.0 | [@react-native-oh-library/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
-| 2.4.1 | [@react-native-oh-library/react-native-apple-authentication Releases]() | 0.77 |
+| 2.3.1 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.72 |
+| 2.4.2 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.77 |
## 属性
diff --git a/zh-cn/react-native-community-checkbox.md b/zh-cn/react-native-community-checkbox.md
index c0d11b50d..bb008fae4 100644
--- a/zh-cn/react-native-community-checkbox.md
+++ b/zh-cn/react-native-community-checkbox.md
@@ -7,7 +7,7 @@
本项目基于 [@react-native-community/checkbox](https://github.com/react-native-checkbox/react-native-checkbox) 开发。
-该第三方库的仓库已迁移至 Gitee,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/checkbox`,具体版本所属关系如下:
+该第三方库的仓库已迁移至 GitCode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/checkbox`,具体版本所属关系如下:
| Version | Package Name | Repository | Release |
| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- |
@@ -65,7 +65,9 @@ export default function CheckBoxExample() {
## 2. Manual Link
-此步骤为手动配置原生依赖项的指导。
+Version >= @react-native-ohos/checkbox@0.5.17,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+Version <= @react-native-oh-tpl/checkbox@0.5.16 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。
@@ -237,7 +239,7 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/checkbox Releases](https://gitee.com/openharmony-sig/rntpc_react-native-checkbox/releases)
+请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases)
## 4. 属性
diff --git a/zh-cn/react-native-default-preference.md b/zh-cn/react-native-default-preference.md
index 7c9ddf0eb..c0be280a1 100644
--- a/zh-cn/react-native-default-preference.md
+++ b/zh-cn/react-native-default-preference.md
@@ -14,12 +14,16 @@
> [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-default-preference)
+该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-default-preference`,具体版本所属关系如下:
+| Version | Package Name | Repository | Release |
+| --------------------- | -------------------- | --------------------------------------------- | ------------------------------------------------------------ |
+| <= 1.4.4 | @react-native-oh-tpl/react-native-default-preference | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-default-preference) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-default-preference/releases) |
+| >= 1.4.5 | @react-native-ohos/react-native-default-preference | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) |
## 安装与使用
-请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
-
+请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
进入到工程目录并输入以下命令:
@@ -28,13 +32,13 @@
#### **npm**
```bash
-npm install @react-native-oh-tpl/react-native-default-preference
+npm install @react-native-ohos/react-native-default-preference
```
#### **yarn**
```bash
-yarn add @react-native-oh-tpl/react-native-default-preference
+yarn add @react-native-ohos/react-native-default-preference
```
@@ -71,11 +75,15 @@ export default App;
## 使用 Codegen
+Version >= @react-native-ohos/react-native-default-preference@1.4.5,已适配codegen-lib生成桥接代码。
+
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-目前 HarmonyOS 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+Version >= @react-native-ohos/react-native-default-preference@1.4.5,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+Version <= @react-native-oh-tpl/react-native-default-preference@1.4.4 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
@@ -106,7 +114,7 @@ export default App;
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-default-preference": "file:../../node_modules/@react-native-oh-tpl/react-native-default-preference/harmony/react_native_default_preference.har"
+ "@react-native-ohos/react-native-default-preference": "file:../../node_modules/@react-native-ohos/react-native-default-preference/harmony/react_native_default_preference.har"
}
```
@@ -131,7 +139,7 @@ ohpm install
```diff
...
-+ import { RNDefaultPreferencePackage } from '@react-native-oh-tpl/react-native-default-preference/ts';
++ import { RNDefaultPreferencePackage } from '@react-native-ohos/react-native-default-preference/ts';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
@@ -161,7 +169,7 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:
-[@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases)
+[@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases)
## API
diff --git a/zh-cn/react-native-fingerprint-scanner.md b/zh-cn/react-native-fingerprint-scanner.md
index 540364e54..b59cb6e41 100644
--- a/zh-cn/react-native-fingerprint-scanner.md
+++ b/zh-cn/react-native-fingerprint-scanner.md
@@ -21,7 +21,8 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
| 6.0.0 | [@react-native-oh-tpl/react-native-fingerprint-scanner Releases](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) | 0.72 |
-| 6.0.1 | [@react-native-ohos/react-native-fingerprint-scanner Releases]() | 0.77 |
+| 6.0.1 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.72 |
+| 6.1.0 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.77 |
对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
@@ -106,7 +107,10 @@ export default function App() {
## Link
-目前 HarmonyOS 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+Version > @react-native-ohos/react-native-fingerprint-scanner@6.0.1,已支持 Autolink,无需手动配置,目前只支持72框架。
+Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+Version <= @react-native-oh-tpl/react-native-fingerprint-scanner@6.0.0 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
@@ -152,8 +156,6 @@ export default function App() {
}
```
-
-
点击右上角的 `sync` 按钮
或者在终端执行:
@@ -272,7 +274,8 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
| 6.0.0 | [@react-native-oh-tpl/react-native-fingerprint-scanner Releases](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) | 0.72 |
-| 6.0.1 | [@react-native-ohos/react-native-fingerprint-scanner Releases]() | 0.77 |
+| 6.0.1 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.72 |
+| 6.1.0 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.77 |
### 权限要求
diff --git a/zh-cn/react-native-haptic-feedback.md b/zh-cn/react-native-haptic-feedback.md
index 0d17045d0..c95a30a96 100644
--- a/zh-cn/react-native-haptic-feedback.md
+++ b/zh-cn/react-native-haptic-feedback.md
@@ -21,8 +21,9 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 2.2.0 | [@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
-| 2.3.3 | [@react-native-ohos/react-native-haptic-feedback Releases]() | 0.77 |
+| 2.2.1 | [@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
+| 2.2.2 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.72 |
+| 2.3.4 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.77 |
对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
@@ -31,20 +32,20 @@
#### **npm**
```bash
-# V2.2.0
+# V2.2.1
npm install @react-native-oh-tpl/react-native-haptic-feedback
-# V2.3.3
+# V2.2.2
npm install @react-native-ohos/react-native-haptic-feedback
```
#### **yarn**
```bash
-# V2.2.0
+# V2.2.1
yarn add @react-native-oh-tpl/react-native-haptic-feedback
-# V2.3.3
+# V2.2.2
yarn add @react-native-ohos/react-native-haptic-feedback
```
@@ -132,13 +133,16 @@ export default HapticFeedbackExample;
## 使用 Codegen
-> [!TIP] V2.3.3 不需要执行 Codegen。
+> [!TIP] V2.2.2 不需要执行 Codegen。
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-目前鸿蒙暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+Version >= @react-native-ohos/react-native-haptic-feedback@2.2.2,已支持 Autolink,无需手动配置,目前只支持72框架。
+Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+Version <= @react-native-oh-tpl/react-native-haptic-feedback@2.2.1 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
首先需要使用 DevEco Studio 打开项目里的鸿蒙工程 `harmony`
@@ -166,7 +170,7 @@ export default HapticFeedbackExample;
打开 `entry/oh-package.json5`,添加以下依赖
-- V2.2.0
+- V2.2.1
```json
"dependencies": {
@@ -175,7 +179,7 @@ export default HapticFeedbackExample;
}
```
-- V2.3.3
+- V2.2.2
```json
"dependencies": {
@@ -199,7 +203,7 @@ ohpm install
### 3.配置 CMakeLists 和引入 RNHapticFeedbackPackage
-> [!TIP] 若使用的是 2.2.0 版本,请跳过本章。
+> [!TIP] 若使用的是 2.2.1 版本,请跳过本章。
打开 `entry/src/main/cpp/CMakeLists.txt`,添加:
@@ -264,10 +268,10 @@ std::vector> PackageProvider::getPackages(Package::Cont
```diff
...
-// V2.2.0
+// V2.2.1
+ import { RNHapticFeedbackPackage } from '@react-native-oh-tpl/react-native-haptic-feedback/ts'
-// V2.3.3
+// V2.2.2
+ import { RNHapticFeedbackPackage } from '@react-native-ohos/react-native-haptic-feedback/ts'
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
@@ -301,8 +305,9 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 2.2.0 | [@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
-| 2.3.3 | [@react-native-ohos/react-native-haptic-feedback Releases]() | 0.77 |
+| 2.2.1 | [@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
+| 2.2.2 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.72 |
+| 2.3.4 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.77 |
### 权限要求
diff --git a/zh-cn/react-native-http-bridge.md b/zh-cn/react-native-http-bridge.md
index fc607b8a5..796f23f57 100644
--- a/zh-cn/react-native-http-bridge.md
+++ b/zh-cn/react-native-http-bridge.md
@@ -16,7 +16,14 @@
## 安装与使用
-请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
+该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:@react-native-ohos/react-native-http-bridge,具体版本所属关系如下:
+
+| Version | Package Name | Repository | Release |
+|---------------------------|------------------------------------------------| ------------------------------------------------------------ | ------------------------------------------------------------ |
+| <= 0.6.1 | @react-native-oh-tpl/react-native-http-bridge | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-http-bridge) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-http-bridge/releases) |
+| >= 0.6.2 | @react-native-ohos/react-native-http-bridge | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) |
+
+请到三方库的 Releases 发布地址查看配套的版本信息:@react-native-ohos/react-native-http-bridge Releases。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
进入到工程目录并输入以下命令:
@@ -25,13 +32,13 @@
#### **npm**
```bash
-npm install @react-native-oh-tpl/react-native-http-bridge
+npm install @react-native-ohos/react-native-http-bridge
```
#### **yarn**
```bash
-yarn add @react-native-oh-tpl/react-native-http-bridge
+yarn add @react-native-ohos/react-native-http-bridge
```
@@ -139,13 +146,16 @@ export default HttpBridgeDemo;
## 使用 Codegen
+Version >= @react-native-ohos/react-native-http-bridge@0.6.2,已适配codegen-lib生成桥接代码。
+
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-本库 HarmonyOS 侧实现依赖@ohos/polka 的原生端代码,已在 HarmonyOS 工程中引入过该库,无需再次引入,可跳过本章节步骤,直接使用。
+Version >= @react-native-ohos/react-native-http-bridge@0.6.2,已支持 Autolink,无需手动配置,目前只支持72框架。
+Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-目前 HarmonyOS 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+Version <= @react-native-oh-tpl/react-native-http-bridge@0.6.1 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
@@ -176,7 +186,7 @@ export default HttpBridgeDemo;
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-http-bridge": "file:../../node_modules/@react-native-oh-tpl/react-native-http-bridge/harmony/http_bridge.har"
+ "@react-native-ohos/react-native-http-bridge": "file:../../node_modules/@react-native-ohos/react-native-http-bridge/harmony/http_bridge.har"
}
```
@@ -199,7 +209,7 @@ ohpm install
```diff
...
-+ import { RNHttpBridgePackage } from "@react-native-oh-tpl/react-native-http-bridge/ts";
++ import { RNHttpBridgePackage } from "@react-native-ohos/react-native-http-bridge/ts";
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
@@ -229,11 +239,10 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases)
+请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases)
### 权限要求
-
#### 在 entry 目录下的module.json5中添加权限
打开 `entry/src/main/module.json5`,添加:
diff --git a/zh-cn/react-native-localization.md b/zh-cn/react-native-localization.md
index d63e60a9a..1f3e853d7 100644
--- a/zh-cn/react-native-localization.md
+++ b/zh-cn/react-native-localization.md
@@ -18,10 +18,16 @@
> [!TIP] [Github 地址](https://github.com/react-native-oh-library/ReactNativeLocalization)
+该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-localization`,具体版本所属关系如下:
+
+| Version | Package Name | Repository | Release |
+| ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
+| <= 2.3.2-0.0.1@deprecated | @react-native-oh-tpl/react-native-localization | [Github(deprecated)](https://github.com/react-native-oh-library/ReactNativeLocalization) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/ReactNativeLocalization/releases) |
+| >= 2.3.3 | @react-native-ohos/react-native-localization | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-localization) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) |
## 安装与使用
-请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/ReactNativeLocalization/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
+请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
进入到工程目录并输入以下命令:
@@ -30,13 +36,13 @@
#### **npm**
```bash
-npm install @react-native-oh-tpl/react-native-localization
+npm install @react-native-ohos/react-native-localization
```
#### **yarn**
```bash
-yarn add @react-native-oh-tpl/react-native-localization
+yarn add @react-native-ohos/react-native-localization
```
@@ -170,11 +176,16 @@ const styles = StyleSheet.create({
```
## 使用 Codegen
+Version >= @react-native-ohos/react-native-localization@2.3.3,已适配codegen-lib生成桥接代码。
+
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
## Link
-目前鸿蒙暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+Version >= @react-native-ohos/react-native-localization@2.3.3,已支持 Autolink,无需手动配置,目前只支持72框架。
+Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+Version <= @react-native-oh-tpl/react-native-localization@2.3.2-0.0.1@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
首先需要使用 DevEco Studio 打开项目里的鸿蒙工程 `harmony`
@@ -205,7 +216,7 @@ const styles = StyleSheet.create({
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-localization": "file:../../node_modules/@react-native-oh-tpl/react-native-localization/harmony/react_localization.har"
+ "@react-native-ohos/react-native-localization": "file:../../node_modules/@react-native-ohos/react-native-localization/harmony/react_localization.har"
}
```
@@ -228,7 +239,7 @@ ohpm install
```diff
...
-+ import { RNReactLocalizationPackage } from '@react-native-oh-tpl/react-native-localization';
++ import { RNReactLocalizationPackage } from '@react-native-ohos/react-native-localization';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
@@ -257,7 +268,7 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/ReactNativeLocalization/releases)
+请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases)
diff --git a/zh-cn/react-native-performance.md b/zh-cn/react-native-performance.md
index 21cfb092d..51aa1e13f 100644
--- a/zh-cn/react-native-performance.md
+++ b/zh-cn/react-native-performance.md
@@ -23,7 +23,8 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
| 5.1.2 | [@react-native-oh-tpl/react-native-performance Releases](https://github.com/react-native-oh-library/react-native-performance/releases) | 0.72 |
-| 5.1.3 | [@react-native-ohos/react-native-performance Releases]() | 0.77 |
+| 5.1.3 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.72 |
+| 5.2.0 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.77 |
对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
@@ -216,7 +217,10 @@ const styles = StyleSheet.create({
## Link
-目前鸿蒙暂不支持 AutoLink,所以 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
+
+Version <= @react-native-oh-tpl/react-native-performance@5.1.2-0.0.3@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
首先需要使用 DevEco Studio 打开项目里的鸿蒙工程 `harmony`
@@ -380,7 +384,8 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
| 5.1.2 | [@react-native-oh-tpl/react-native-performance Releases](https://github.com/react-native-oh-library/react-native-performance/releases) | 0.72 |
-| 5.1.3 | [@react-native-ohos/react-native-performance Releases]() | 0.77 |
+| 5.1.3 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.72 |
+| 5.2.0 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.77 |
## Performance
diff --git a/zh-cn/react-native-thumbnail.md b/zh-cn/react-native-thumbnail.md
index ba8c7a819..0fa8fd55b 100644
--- a/zh-cn/react-native-thumbnail.md
+++ b/zh-cn/react-native-thumbnail.md
@@ -13,9 +13,16 @@
> [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-thumbnail)
+该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-thumbnail`,具体版本所属关系如下:
+
+| Version | Package Name | Repository | Release |
+| ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
+| <= 1.1.3-0.0.1@deprecated | @react-native-oh-tpl/react-native-thumbnail | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-thumbnail) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-thumbnail/releases) |
+| >= 1.1.4 | @react-native-ohos/react-native-thumbnail | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) |
+
## 安装与使用
-请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
+请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
进入到工程目录并输入以下命令:
@@ -24,13 +31,13 @@
#### **npm**
```bash
-npm install @react-native-oh-tpl/react-native-thumbnail
+npm install @react-native-ohos/react-native-thumbnail
```
#### **yarn**
```bash
-yarn add @react-native-oh-tpl/react-native-thumbnail
+yarn add @react-native-ohos/react-native-thumbnail
```
@@ -38,7 +45,7 @@ yarn add @react-native-oh-tpl/react-native-thumbnail
下面的代码展示了这个库的基本使用场景:
> [!WARNING] 使用时 import 的库名不变。
-> [!TIP] 本示例依赖 react-native-image-picker 库,参照[@react-native-oh-tpl/react-native-image-picker 文档](https://gitee.com/react-native-oh-library/usage-docs/blob/master/zh-cn/react-native-image-picker.md)进行引入。
+> [!TIP] 本示例依赖 react-native-image-picker 库,参照[@react-native-ohos/react-native-image-picker 文档](https://gitee.com/react-native-oh-library/usage-docs/blob/master/zh-cn/react-native-image-picker.md)进行引入。
```js
import React from 'react';
import { StyleSheet, Text, View, TouchableOpacity, Image } from 'react-native';
@@ -154,11 +161,16 @@ const styles = StyleSheet.create({
## 使用 Codegen
+Version >= @react-native-ohos/react-native-thumbnail@1.1.4,已适配codegen-lib生成桥接代码。
+
本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/codegen.md)。
## Link
-目前 HarmonyOS 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+Version >= @react-native-ohos/react-native-thumbnail@1.1.4,已支持 Autolink,无需手动配置,目前只支持72框架。
+Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+Version <= @react-native-oh-tpl/react-native-thumbnail@1.1.3-0.0.1@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
@@ -189,7 +201,7 @@ const styles = StyleSheet.create({
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-thumbnail": "file:../../node_modules/@react-native-oh-tpl/react-native-thumbnail/harmony/thumbnail.har"
+ "@react-native-ohos/react-native-thumbnail": "file:../../node_modules/@react-native-ohos/react-native-thumbnail/harmony/thumbnail.har"
}
```
@@ -212,7 +224,7 @@ ohpm install
```diff
import { RNPackageContext, RNPackage } from '@rnoh/react-native-openharmony/ts';
-+import { RNThumbnailPackage } from '@react-native-oh-tpl/react-native-thumbnail/ts';
++import { RNThumbnailPackage } from '@react-native-ohos/react-native-thumbnail/ts';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
@@ -240,7 +252,7 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases)
+请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases)
## API
diff --git a/zh-cn/remobile-react-native-toast.md b/zh-cn/remobile-react-native-toast.md
index f6f405eda..2cfa61728 100644
--- a/zh-cn/remobile-react-native-toast.md
+++ b/zh-cn/remobile-react-native-toast.md
@@ -24,7 +24,8 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
| 1.0.7 | [@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases) | 0.72 |
-| 1.0.8 | [@react-native-ohos/react-native-toast Releases]() | 0.77 |
+| 1.0.8 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.72 |
+| 1.1.0 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.77 |
对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
@@ -125,7 +126,10 @@ export default ToastMasterDemo;
## Link
-目前HarmonyOS暂不支持 AutoLink,所以Link步骤需要手动配置。
+Version >= @react-native-ohos/react-native-toast@1.0.8,已支持 Autolink,无需手动配置,目前只支持72框架。
+Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
+
+Version <= @react-native-oh-tpl/react-native-toast@1.0.7 暂不支持 AutoLink,所以 Link 步骤需要手动配置。。
首先需要使用 DevEco Studio 打开项目里的HarmonyOS工程 `harmony`
@@ -289,7 +293,8 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
| 1.0.7 | [@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases) | 0.72 |
-| 1.0.8 | [@react-native-ohos/react-native-toast Releases]() | 0.77 |
+| 1.0.8 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.72 |
+| 1.1.0 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.77 |
## API
--
Gitee
From 78735a43832f18c77cc3bb47dc8b8a8b757c6cc7 Mon Sep 17 00:00:00 2001
From: zhangxCode
Date: Fri, 21 Nov 2025 19:35:24 +0800
Subject: [PATCH 2/6] =?UTF-8?q?docs:=20=E4=B8=89=E6=96=B9=E5=BA=93?=
=?UTF-8?q?=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7=E9=9C=80=E6=B1=82?=
=?UTF-8?q?=EF=BC=8C=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9=E8=AF=84=E5=AE=A1?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
en/react-native-apple-authentication.md | 23 ---------------------
en/react-native-community-checkbox.md | 24 ++++++++++++++--------
en/react-native-default-preference.md | 23 +++++++++++++--------
en/react-native-fingerprint-scanner.md | 23 ---------------------
en/react-native-haptic-feedback.md | 23 ---------------------
en/react-native-http-bridge.md | 21 ++++++++++++-------
en/react-native-localization.md | 23 +++++++++++++--------
en/react-native-performance.md | 22 --------------------
en/react-native-thumbnail.md | 23 +++++++++++++--------
en/remobile-react-native-toast.md | 22 --------------------
zh-cn/react-native-apple-authentication.md | 23 ---------------------
zh-cn/react-native-community-checkbox.md | 24 ++++++++++++++--------
zh-cn/react-native-default-preference.md | 23 +++++++++++++--------
zh-cn/react-native-fingerprint-scanner.md | 23 ---------------------
zh-cn/react-native-haptic-feedback.md | 23 ---------------------
zh-cn/react-native-http-bridge.md | 21 ++++++++++++-------
zh-cn/react-native-localization.md | 23 +++++++++++++--------
zh-cn/react-native-performance.md | 22 --------------------
zh-cn/react-native-thumbnail.md | 23 +++++++++++++--------
zh-cn/remobile-react-native-toast.md | 22 --------------------
20 files changed, 146 insertions(+), 308 deletions(-)
diff --git a/en/react-native-apple-authentication.md b/en/react-native-apple-authentication.md
index 7739d2310..e8a50b408 100644
--- a/en/react-native-apple-authentication.md
+++ b/en/react-native-apple-authentication.md
@@ -35,20 +35,12 @@ Go to the project directory and execute the following instruction:
#### npm
```bash
-# V2.3.0
-npm install @react-native-oh-tpl/react-native-apple-authentication
-
-# V2.3.1
npm install @react-native-ohos/react-native-apple-authentication
```
#### yarn
```bash
-# V2.3.0
-yarn add @react-native-oh-tpl/react-native-apple-authentication
-
-# V2.3.1
yarn add @react-native-ohos/react-native-apple-authentication
```
@@ -132,17 +124,6 @@ Method 1 (recommended): Use the HAR file.
Open `entry/oh-package.json5` file and add the following dependencies:
-- V2.3.0
-
-```json
-"dependencies": {
- "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-apple-authentication": "file:../../node_modules/@react-native-oh-tpl/react-native-apple-authentication/harmony/react-native-apple-authentication.har"
- }
-```
-
-- V2.3.1
-
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -234,10 +215,6 @@ Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following co
```diff
...
-// V2.3.0
-+ import { RNAppleAuthPackage } from '@react-native-oh-tpl/react-native-apple-authentication';
-
-// V2.3.1
+ import { RNAppleAuthPackage } from '@react-native-ohos/react-native-apple-authentication';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
diff --git a/en/react-native-community-checkbox.md b/en/react-native-community-checkbox.md
index fe566f742..de88ba91c 100644
--- a/en/react-native-community-checkbox.md
+++ b/en/react-native-community-checkbox.md
@@ -4,17 +4,19 @@
@react-native-community/checkbox
-This project is based on [@react-native-community/checkbox](https://github.com/react-native-checkbox/react-native-checkbox).
+> [!TIP] [GitHub address][@react-native-community/checkbox](https://github.com/react-native-checkbox/react-native-checkbox).
+## 1. Installation and Usage
-This third-party library has been migrated to GitCode and is now available for direct download from npm, the new package name is:`@react-native-ohos/checkbox`, The version correspondence details are as follows:
+Please refer to the Releases page of the third-party library for the corresponding version information
-| Version | Package Name | Repository | Release |
-| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- |
-| <= 0.5.16-0.1.0@deprecated | @react-native-oh-tpl/checkbox | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-checkbox) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-checkbox/releases) |
-| >= 0.5.17 | @react-native-ohos/checkbox | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) |
+| Third-party Library Version | Release Information | Supported RN Version |
+|--------| ------------------------------------------------------------ | ---------- |
+| 0.6.0 | [@react-native-oh-tpl/checkbox Releases](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
+| 0.6.1 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.72 |
+| 0.5.16 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.77 |
-## 1. Installation and Usage
+For older versions not published on npm, please refer to the [Installation Guide](/zh-cn/tgz-usage.md) to install the tgz package.
Go to the project directory and execute the following instruction:
@@ -75,7 +77,13 @@ Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
To ensure the project relies on the same version of the RN SDK, you need to add an `overrides` field in the project's root `oh-package.json5` file, specifying the RN SDK version to be used. The replacement version can be a specific version number, a semver range, or a locally available HAR package or source directory.
-For more information about the purpose of this field, please refer to the [official documentation](https://developer.huawei.com/consumer/en/doc/harmonyos-guides-V5/ide-oh-package-json5-V5#en-us_topic_0000001792256137_overrides).
+Please refer to the Releases page of the third-party library for the corresponding version information
+
+| Third-party Library Version | Release Information | Supported RN Version |
+|--------| ------------------------------------------------------------ | ---------- |
+| 0.6.0 | [@react-native-oh-tpl/checkbox Releases](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
+| 0.6.1 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.72 |
+| 0.5.16 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.77 |
```json
{
diff --git a/en/react-native-default-preference.md b/en/react-native-default-preference.md
index dccaca5b7..1d019e65e 100644
--- a/en/react-native-default-preference.md
+++ b/en/react-native-default-preference.md
@@ -14,16 +14,17 @@
> [!TIP] [ GitHub address](https://github.com/react-native-oh-library/react-native-default-preference)
-This third-party library has been migrated to Gitcode and is now available for direct download from npm, the new package name is: `@react-native-ohos/react-native-default-preference`, After introducing the new version of the third-party library, The version correspondence details are as follows:
+## Installation and Usage
-| Version | Package Name | Repository | Release |
-| ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
-| <= 1.4.4 | @react-native-oh-tpl/react-native-default-preference | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-default-preference) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-default-preference/releases) |
-| >= 1.4.5 | @react-native-ohos/react-native-default-preference | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) |
+Please refer to the Releases page of the third-party library for the corresponding version information
-## Installation and Usage
+| Third-party Library Version | Release Information | Supported RN Version |
+|-------| ------------------------------------------------------------ | ---------- |
+| 1.4.4 | [@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases) | 0.72 |
+| 1.4.5 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.72 |
+| 1.5.0 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.77 |
-Find the matching version information in the release address of a third-party library: [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases). For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
+For older versions not published on npm, please refer to the [Installation Guide](/zh-cn/tgz-usage.md) to install the tgz package.
Go to the project directory and execute the following instruction:
@@ -164,9 +165,13 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
-Check the release version information in the release address of the third-party library:
-[@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases)
+Please refer to the Releases page of the third-party library for the corresponding version information
+| Third-party Library Version | Release Information | Supported RN Version |
+|-------| ------------------------------------------------------------ | ---------- |
+| 1.4.4 | [@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases) | 0.72 |
+| 1.4.5 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.72 |
+| 1.5.0 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.77 |
## API
> [!TIP] The **Platform** column indicates the platform where the properties are supported in the original third-party library.
diff --git a/en/react-native-fingerprint-scanner.md b/en/react-native-fingerprint-scanner.md
index 582a74281..24e64a0e0 100644
--- a/en/react-native-fingerprint-scanner.md
+++ b/en/react-native-fingerprint-scanner.md
@@ -33,20 +33,12 @@ Go to the project directory and execute the following instruction:
#### **npm**
```bash
-#6.0.0
-npm install @react-native-oh-tpl/react-native-fingerprint-scanner
-
-#6.0.1
npm install @react-native-ohos/react-native-fingerprint-scanner
```
#### **yarn**
```bash
-#6.0.0
-yarn add @react-native-oh-tpl/react-native-fingerprint-scanner
-
-#6.0.1
yarn add @react-native-ohos/react-native-fingerprint-scanner
```
@@ -135,17 +127,6 @@ Method 1 (recommended): Use the HAR file.
Open `entry/oh-package.json5` file and add the following dependencies:
-- V6.0.0
-
-```json
-"dependencies": {
- "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-fingerprint-scanner": "file:../../node_modules/@react-native-oh-tpl/react-native-fingerprint-scanner/harmony/fingerprint_scanner.har"
- }
-```
-
-- V6.0.1
-
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -172,10 +153,6 @@ Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following co
```diff
...
-//6.0.0
-+ import { RNFingerprintScannerPackage } from '@react-native-oh-tpl/react-native-fingerprint-scanner/ts';
-
-//6.0.1
+ import { RNFingerprintScannerPackage } from '@react-native-ohos/react-native-fingerprint-scanner/ts';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
diff --git a/en/react-native-haptic-feedback.md b/en/react-native-haptic-feedback.md
index e2efbd8fe..116283dd0 100644
--- a/en/react-native-haptic-feedback.md
+++ b/en/react-native-haptic-feedback.md
@@ -32,20 +32,12 @@ Go to the project directory and execute the following instruction:
#### **npm**
```bash
-# V2.2.1
-npm install @react-native-oh-tpl/react-native-haptic-feedback
-
-# V2.2.2
npm install @react-native-ohos/react-native-haptic-feedback
```
#### **yarn**
```bash
-# V2.2.1
-yarn add @react-native-oh-tpl/react-native-haptic-feedback
-
-# V2.2.2
yarn add @react-native-ohos/react-native-haptic-feedback
```
@@ -167,17 +159,6 @@ Method 1 (recommended): Use the HAR file.
Open `entry/oh-package.json5` file and add the following dependencies:
-- V2.2.1
-
-```json
-"dependencies": {
- "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-haptic-feedback": "file:../../node_modules/@react-native-oh-tpl/react-native-haptic-feedback/harmony/haptic_feedback.har"
- }
-```
-
-- V2.2.2
-
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -265,10 +246,6 @@ Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following co
```diff
...
-// V2.2.1
-+ import { RNHapticFeedbackPackage } from '@react-native-oh-tpl/react-native-haptic-feedback/ts'
-
-// V2.2.2
+ import { RNHapticFeedbackPackage } from '@react-native-ohos/react-native-haptic-feedback/ts'
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
diff --git a/en/react-native-http-bridge.md b/en/react-native-http-bridge.md
index e570efdf1..8431d4215 100644
--- a/en/react-native-http-bridge.md
+++ b/en/react-native-http-bridge.md
@@ -16,14 +16,15 @@
## Installation and Usage
-This third-party library has been migrated to Gitcode and is now available for direct download from npm, the new package name is: `@react-native-ohos/react-native-http-bridge`, After introducing the new version of the third-party library, The version correspondence details are as follows:
+Please refer to the Releases page of the third-party library for the corresponding version information
-| Version | Package Name | Repository | Release |
-|---------------------------|------------------------------------------------| ------------------------------------------------------------ | ------------------------------------------------------------ |
-| <= 0.6.1 | @react-native-oh-tpl/react-native-http-bridge | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-http-bridge) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-http-bridge/releases) |
-| >= 0.6.2 | @react-native-ohos/react-native-http-bridge | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) |
+| Third-party Library Version | Release Information | Supported RN Version |
+|-------| ------------------------------------------------------------ | ---------- |
+| 0.6.1 | [@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases) | 0.72 |
+| 0.6.2 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.72 |
+| 0.7.0 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.77 |
-Find the matching version information in the release address of a third-party library: [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
+For older versions not published on npm, please refer to the [Installation Guide](/zh-cn/tgz-usage.md) to install the tgz package.
Go to the project directory and execute the following instruction:
@@ -239,7 +240,13 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
-Check the release version information in the release address of the third-party library: [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases)
+Please refer to the Releases page of the third-party library for the corresponding version information
+
+| Third-party Library Version | Release Information | Supported RN Version |
+|-------| ------------------------------------------------------------ | ---------- |
+| 0.6.1 | [@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases) | 0.72 |
+| 0.6.2 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.72 |
+| 0.7.0 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.77 |
### Permission Requirements
diff --git a/en/react-native-localization.md b/en/react-native-localization.md
index 7653fd6a7..fd49bcab8 100644
--- a/en/react-native-localization.md
+++ b/en/react-native-localization.md
@@ -16,16 +16,17 @@ Template version: v0.2.2
> [!TIP] [GitHub address](https://github.com/react-native-oh-library/ReactNativeLocalization)
-This third-party library has been migrated to Gitcode and is now available for direct download from npm, the new package name is: `@react-native-ohos/react-native-localization`, After introducing the new version of the third-party library, The version correspondence details are as follows:
+## Installation and Usage
-| Version | Package Name | Repository | Release |
-| ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
-| <= 2.3.2-0.0.1@deprecated | @react-native-oh-tpl/react-native-localization | [Github(deprecated)](https://github.com/react-native-oh-library/ReactNativeLocalization) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/ReactNativeLocalization/releases) |
-| >= 2.3.3 | @react-native-ohos/react-native-localization | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-localization) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) |
+Please refer to the Releases page of the third-party library for the corresponding version information
-## Installation and Usage
+| Third-party Library Version | Release Information | Supported RN Version |
+|-------| ------------------------------------------------------------ | ---------- |
+| 2.3.2 | [@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/react-native-localization/releases) | 0.72 |
+| 2.3.3 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.72 |
+| 2.4.0 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.77 |
-Find the matching version information in the release address of a third-party library:[@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package.
+For older versions not published on npm, please refer to the [Installation Guide](/zh-cn/tgz-usage.md) to install the tgz package.
Go to the project directory and execute the following instruction:
@@ -265,9 +266,13 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
-Check the release version information in the release address of the third-party library: [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases)
-
+Please refer to the Releases page of the third-party library for the corresponding version information
+| Third-party Library Version | Release Information | Supported RN Version |
+|-------| ------------------------------------------------------------ | ---------- |
+| 2.3.2 | [@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/react-native-localization/releases) | 0.72 |
+| 2.3.3 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.72 |
+| 2.4.0 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.77 |
## Static Methods
diff --git a/en/react-native-performance.md b/en/react-native-performance.md
index 15d32033c..7595eeffc 100644
--- a/en/react-native-performance.md
+++ b/en/react-native-performance.md
@@ -36,20 +36,12 @@ Go to the project directory and execute the following instruction:
#### **npm**
```bash
-#5.1.2
-npm install @react-native-oh-tpl/react-native-performance
-
-#5.1.3
npm install @react-native-ohos/react-native-performance
```
#### **yarn**
```bash
-#5.1.2
-yarn add @react-native-oh-tpl/react-native-performance
-
-#5.1.3
yarn add @react-native-ohos/react-native-performance
```
@@ -251,17 +243,6 @@ Method 1 (recommended): Use the HAR file.
Open `entry/oh-package.json5` file and add the following dependencies:
-- V5.1.2
-
-```json
-"dependencies": {
- "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-performance": "file:../../node_modules/@react-native-oh-tpl/react-native-performance/harmony/react_native_performance.har"
- }
-```
-
-- V5.1.3
-
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -288,9 +269,6 @@ Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following co
```diff
...
- //5.1.2
-+ import {RNPerformancePackage} from '@react-native-oh-tpl/react-native-performance/ts';
- //5.1.3
+ import {RNPerformancePackage} from '@react-native-ohos/react-native-performance/ts';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
diff --git a/en/react-native-thumbnail.md b/en/react-native-thumbnail.md
index 44de0e1a6..5b2750061 100644
--- a/en/react-native-thumbnail.md
+++ b/en/react-native-thumbnail.md
@@ -13,16 +13,17 @@
> [!TIP] [GitHub address](https://github.com/react-native-oh-library/react-native-thumbnail)
-This third-party library has been migrated to Gitcode and is now available for direct download from npm, the new package name is: `@react-native-ohos/react-native-thumbnail`, After introducing the new version of the third-party library, The version correspondence details are as follows:
+## Installation and Usage
-| Version | Package Name | Repository | Release |
-| ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
-| <= 1.1.3-0.0.1@deprecated | @react-native-oh-tpl/react-native-thumbnail | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-thumbnail) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-thumbnail/releases) |
-| >= 1.1.4 | @react-native-ohos/react-native-thumbnail | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) |
+Please refer to the Releases page of the third-party library for the corresponding version information
-## Installation and Usage
+| Third-party Library Version | Release Information | Supported RN Version |
+|-------| ------------------------------------------------------------ | ---------- |
+| 1.1.3 | [@react-native-oh-tpl/react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases) | 0.72 |
+| 1.1.4 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.72 |
+| 1.2.0 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.77 |
-Find the matching version information in the release address of a third-party library and download an applicable .tgz package: [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases).
+For older versions not published on npm, please refer to the [Installation Guide](/zh-cn/tgz-usage.md) to install the tgz package.
Go to the project directory and execute the following instruction:
@@ -252,7 +253,13 @@ Then build and run the code.
To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone.
-Check the release version information in the release address of the third-party library: [react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases)
+Please refer to the Releases page of the third-party library for the corresponding version information
+
+| Third-party Library Version | Release Information | Supported RN Version |
+|-------| ------------------------------------------------------------ | ---------- |
+| 1.1.3 | [@react-native-oh-tpl/react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases) | 0.72 |
+| 1.1.4 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.72 |
+| 1.2.0 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.77 |
## API
diff --git a/en/remobile-react-native-toast.md b/en/remobile-react-native-toast.md
index 6d3a2df2e..4131343cb 100644
--- a/en/remobile-react-native-toast.md
+++ b/en/remobile-react-native-toast.md
@@ -34,20 +34,12 @@ Go to the project directory and execute the following instruction:
#### **npm**
```bash
-#1.0.7
-npm install @react-native-oh-tpl/react-native-toast
-
-#1.0.8
npm install @react-native-ohos/react-native-toast
```
#### **yarn**
```bash
-#1.0.7
-yarn add @react-native-oh-tpl/react-native-toast
-
-#1.0.8
yarn add @react-native-ohos/react-native-toast
```
@@ -152,17 +144,6 @@ Method 1 (recommended): Use the HAR file.
Open `entry/oh-package.json5` file and add the following dependencies:
-- V1.0.7
-
-```json
-"dependencies": {
-"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
-"@react-native-oh-tpl/react-native-toast": "file:../../node_modules/@react-native-oh-tpl/react-native-toast/harmony/rn_toast.har"
-}
-```
-
-- V1.0.8
-
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -189,9 +170,6 @@ Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following co
```diff
...
- //1.0.7
-+ import {ToastPackage} from '@react-native-oh-tpl/react-native-toast/ts';
- //1.0.8
+ import {ToastPackage} from '@react-native-ohos/react-native-toast/ts';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
diff --git a/zh-cn/react-native-apple-authentication.md b/zh-cn/react-native-apple-authentication.md
index 704b1eec7..5f1450982 100644
--- a/zh-cn/react-native-apple-authentication.md
+++ b/zh-cn/react-native-apple-authentication.md
@@ -35,20 +35,12 @@
#### npm
```bash
-# V2.3.0
-npm install @react-native-oh-tpl/react-native-apple-authentication
-
-# V2.3.1
npm install @react-native-ohos/react-native-apple-authentication
```
#### yarn
```bash
-# V2.3.0
-yarn add @react-native-oh-tpl/react-native-apple-authentication
-
-# V2.3.1
yarn add @react-native-ohos/react-native-apple-authentication
```
@@ -131,17 +123,6 @@ Version <= @react-native-oh-tpl/react-native-apple-authentication@2.3.0-0.0.1@de
打开 `entry/oh-package.json5`,添加以下依赖
-- V2.3.0
-
-```json
-"dependencies": {
- "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-apple-authentication": "file:../../node_modules/@react-native-oh-tpl/react-native-apple-authentication/harmony/react-native-apple-authentication.har"
- }
-```
-
-- V2.3.1
-
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -233,10 +214,6 @@ std::vector> PackageProvider::getPackages(Package::Cont
```diff
...
-// V2.3.0
-+ import { RNAppleAuthPackage } from '@react-native-oh-tpl/react-native-apple-authentication';
-
-// V2.3.1
+ import { RNAppleAuthPackage } from '@react-native-ohos/react-native-apple-authentication';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
diff --git a/zh-cn/react-native-community-checkbox.md b/zh-cn/react-native-community-checkbox.md
index bb008fae4..a03d980f0 100644
--- a/zh-cn/react-native-community-checkbox.md
+++ b/zh-cn/react-native-community-checkbox.md
@@ -4,17 +4,19 @@
@react-native-community/checkbox
-本项目基于 [@react-native-community/checkbox](https://github.com/react-native-checkbox/react-native-checkbox) 开发。
+> [!TIP] [Github 地址](https://github.com/react-native-checkbox/react-native-checkbox)
+## 1. 安装与使用
-该第三方库的仓库已迁移至 GitCode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/checkbox`,具体版本所属关系如下:
+请到三方库的 Releases 发布地址查看配套的版本信息:
-| Version | Package Name | Repository | Release |
-| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- |
-| <= 0.5.16-0.1.0@deprecated | @react-native-oh-tpl/checkbox | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-checkbox) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-checkbox/releases) |
-| >= 0.5.17 | @react-native-ohos/checkbox | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) |
+| 三方库版本 | 发布信息 | 支持RN版本 |
+|--------| ------------------------------------------------------------ | ---------- |
+| 0.6.0 | [@react-native-oh-tpl/checkbox Releases](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
+| 0.6.1 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.72 |
+| 0.5.16 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.77 |
-## 1. 安装与使用
+对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
进入到工程目录并输入以下命令:
@@ -239,7 +241,13 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases)
+请到三方库的 Releases 发布地址查看配套的版本信息:
+
+| 三方库版本 | 发布信息 | 支持RN版本 |
+|--------| ------------------------------------------------------------ | ---------- |
+| 0.6.0 | [@react-native-oh-tpl/checkbox Releases](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
+| 0.6.1 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.72 |
+| 0.5.16 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.77 |
## 4. 属性
diff --git a/zh-cn/react-native-default-preference.md b/zh-cn/react-native-default-preference.md
index c0be280a1..9123971dd 100644
--- a/zh-cn/react-native-default-preference.md
+++ b/zh-cn/react-native-default-preference.md
@@ -14,16 +14,17 @@
> [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-default-preference)
-该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-default-preference`,具体版本所属关系如下:
+## 安装与使用
-| Version | Package Name | Repository | Release |
-| --------------------- | -------------------- | --------------------------------------------- | ------------------------------------------------------------ |
-| <= 1.4.4 | @react-native-oh-tpl/react-native-default-preference | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-default-preference) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-default-preference/releases) |
-| >= 1.4.5 | @react-native-ohos/react-native-default-preference | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) |
+请到三方库的 Releases 发布地址查看配套的版本信息:
-## 安装与使用
+| 三方库版本 | 发布信息 | 支持RN版本 |
+|-------| ------------------------------------------------------------ | ---------- |
+| 1.4.4 | [@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases) | 0.72 |
+| 1.4.5 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.72 |
+| 1.5.0 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.77 |
-请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
+对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
进入到工程目录并输入以下命令:
@@ -168,9 +169,13 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:
-[@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases)
+请到三方库的 Releases 发布地址查看配套的版本信息:
+| 三方库版本 | 发布信息 | 支持RN版本 |
+|-------| ------------------------------------------------------------ | ---------- |
+| 1.4.4 | [@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases) | 0.72 |
+| 1.4.5 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.72 |
+| 1.5.0 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.77 |
## API
diff --git a/zh-cn/react-native-fingerprint-scanner.md b/zh-cn/react-native-fingerprint-scanner.md
index b59cb6e41..32602716a 100644
--- a/zh-cn/react-native-fingerprint-scanner.md
+++ b/zh-cn/react-native-fingerprint-scanner.md
@@ -33,20 +33,12 @@
#### **npm**
```bash
-#6.0.0
-npm install @react-native-oh-tpl/react-native-fingerprint-scanner
-
-#6.0.1
npm install @react-native-ohos/react-native-fingerprint-scanner
```
#### **yarn**
```bash
-#6.0.0
-yarn add @react-native-oh-tpl/react-native-fingerprint-scanner
-
-#6.0.1
yarn add @react-native-ohos/react-native-fingerprint-scanner
```
@@ -138,17 +130,6 @@ Version <= @react-native-oh-tpl/react-native-fingerprint-scanner@6.0.0 暂不支
打开 `entry/oh-package.json5`,添加以下依赖
-- V6.0.0
-
-```json
-"dependencies": {
- "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-fingerprint-scanner": "file:../../node_modules/@react-native-oh-tpl/react-native-fingerprint-scanner/harmony/fingerprint_scanner.har"
- }
-```
-
-- V6.0.1
-
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -174,10 +155,6 @@ ohpm install
```diff
...
-//6.0.0
-+ import { RNFingerprintScannerPackage } from '@react-native-oh-tpl/react-native-fingerprint-scanner/ts';
-
-//6.0.1
+ import { RNFingerprintScannerPackage } from '@react-native-ohos/react-native-fingerprint-scanner/ts';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
diff --git a/zh-cn/react-native-haptic-feedback.md b/zh-cn/react-native-haptic-feedback.md
index c95a30a96..a765b497d 100644
--- a/zh-cn/react-native-haptic-feedback.md
+++ b/zh-cn/react-native-haptic-feedback.md
@@ -32,20 +32,12 @@
#### **npm**
```bash
-# V2.2.1
-npm install @react-native-oh-tpl/react-native-haptic-feedback
-
-# V2.2.2
npm install @react-native-ohos/react-native-haptic-feedback
```
#### **yarn**
```bash
-# V2.2.1
-yarn add @react-native-oh-tpl/react-native-haptic-feedback
-
-# V2.2.2
yarn add @react-native-ohos/react-native-haptic-feedback
```
@@ -170,17 +162,6 @@ Version <= @react-native-oh-tpl/react-native-haptic-feedback@2.2.1 暂不支持
打开 `entry/oh-package.json5`,添加以下依赖
-- V2.2.1
-
-```json
-"dependencies": {
- "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-haptic-feedback": "file:../../node_modules/@react-native-oh-tpl/react-native-haptic-feedback/harmony/haptic_feedback.har"
- }
-```
-
-- V2.2.2
-
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -268,10 +249,6 @@ std::vector> PackageProvider::getPackages(Package::Cont
```diff
...
-// V2.2.1
-+ import { RNHapticFeedbackPackage } from '@react-native-oh-tpl/react-native-haptic-feedback/ts'
-
-// V2.2.2
+ import { RNHapticFeedbackPackage } from '@react-native-ohos/react-native-haptic-feedback/ts'
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
diff --git a/zh-cn/react-native-http-bridge.md b/zh-cn/react-native-http-bridge.md
index 796f23f57..2d28fe46e 100644
--- a/zh-cn/react-native-http-bridge.md
+++ b/zh-cn/react-native-http-bridge.md
@@ -16,14 +16,15 @@
## 安装与使用
-该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:@react-native-ohos/react-native-http-bridge,具体版本所属关系如下:
+请到三方库的 Releases 发布地址查看配套的版本信息:
-| Version | Package Name | Repository | Release |
-|---------------------------|------------------------------------------------| ------------------------------------------------------------ | ------------------------------------------------------------ |
-| <= 0.6.1 | @react-native-oh-tpl/react-native-http-bridge | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-http-bridge) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-http-bridge/releases) |
-| >= 0.6.2 | @react-native-ohos/react-native-http-bridge | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) |
+| 三方库版本 | 发布信息 | 支持RN版本 |
+|-------| ------------------------------------------------------------ | ---------- |
+| 0.6.1 | [@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases) | 0.72 |
+| 0.6.2 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.72 |
+| 0.7.0 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.77 |
-请到三方库的 Releases 发布地址查看配套的版本信息:@react-native-ohos/react-native-http-bridge Releases。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
+对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
进入到工程目录并输入以下命令:
@@ -239,7 +240,13 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases)
+请到三方库的 Releases 发布地址查看配套的版本信息:
+
+| 三方库版本 | 发布信息 | 支持RN版本 |
+|-------| ------------------------------------------------------------ | ---------- |
+| 0.6.1 | [@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases) | 0.72 |
+| 0.6.2 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.72 |
+| 0.7.0 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.77 |
### 权限要求
diff --git a/zh-cn/react-native-localization.md b/zh-cn/react-native-localization.md
index 1f3e853d7..f64c9f2a2 100644
--- a/zh-cn/react-native-localization.md
+++ b/zh-cn/react-native-localization.md
@@ -18,16 +18,17 @@
> [!TIP] [Github 地址](https://github.com/react-native-oh-library/ReactNativeLocalization)
-该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-localization`,具体版本所属关系如下:
+## 安装与使用
-| Version | Package Name | Repository | Release |
-| ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
-| <= 2.3.2-0.0.1@deprecated | @react-native-oh-tpl/react-native-localization | [Github(deprecated)](https://github.com/react-native-oh-library/ReactNativeLocalization) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/ReactNativeLocalization/releases) |
-| >= 2.3.3 | @react-native-ohos/react-native-localization | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-localization) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) |
+请到三方库的 Releases 发布地址查看配套的版本信息:
-## 安装与使用
+| 三方库版本 | 发布信息 | 支持RN版本 |
+|-------| ------------------------------------------------------------ | ---------- |
+| 2.3.2 | [@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/react-native-localization/releases) | 0.72 |
+| 2.3.3 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.72 |
+| 2.4.0 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.77 |
-请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
+对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
进入到工程目录并输入以下命令:
@@ -268,9 +269,13 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases)
-
+请到三方库的 Releases 发布地址查看配套的版本信息:
+| 三方库版本 | 发布信息 | 支持RN版本 |
+|-------| ------------------------------------------------------------ | ---------- |
+| 2.3.2 | [@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/react-native-localization/releases) | 0.72 |
+| 2.3.3 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.72 |
+| 2.4.0 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.77 |
## 静态方法
diff --git a/zh-cn/react-native-performance.md b/zh-cn/react-native-performance.md
index 51aa1e13f..b10345d79 100644
--- a/zh-cn/react-native-performance.md
+++ b/zh-cn/react-native-performance.md
@@ -35,20 +35,12 @@
#### **npm**
```bash
-#5.1.2
-npm install @react-native-oh-tpl/react-native-performance
-
-#5.1.3
npm install @react-native-ohos/react-native-performance
```
#### **yarn**
```bash
-#5.1.2
-yarn add @react-native-oh-tpl/react-native-performance
-
-#5.1.3
yarn add @react-native-ohos/react-native-performance
```
@@ -248,17 +240,6 @@ Version <= @react-native-oh-tpl/react-native-performance@5.1.2-0.0.3@deprecated
打开 `entry/oh-package.json5`,添加以下依赖
-- V5.1.2
-
-```json
-"dependencies": {
- "@rnoh/react-native-openharmony": "file:../react_native_openharmony",
- "@react-native-oh-tpl/react-native-performance": "file:../../node_modules/@react-native-oh-tpl/react-native-performance/harmony/react_native_performance.har"
- }
-```
-
-- V5.1.3
-
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -285,9 +266,6 @@ ohpm install
```diff
...
- //5.1.2
-+ import {RNPerformancePackage} from '@react-native-oh-tpl/react-native-performance/ts';
- //5.1.3
+ import {RNPerformancePackage} from '@react-native-ohos/react-native-performance/ts';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
diff --git a/zh-cn/react-native-thumbnail.md b/zh-cn/react-native-thumbnail.md
index 0fa8fd55b..335a3a880 100644
--- a/zh-cn/react-native-thumbnail.md
+++ b/zh-cn/react-native-thumbnail.md
@@ -13,16 +13,17 @@
> [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-thumbnail)
-该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-thumbnail`,具体版本所属关系如下:
+## 安装与使用
-| Version | Package Name | Repository | Release |
-| ------------------------------ | --------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
-| <= 1.1.3-0.0.1@deprecated | @react-native-oh-tpl/react-native-thumbnail | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-thumbnail) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-thumbnail/releases) |
-| >= 1.1.4 | @react-native-ohos/react-native-thumbnail | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) |
+请到三方库的 Releases 发布地址查看配套的版本信息:
-## 安装与使用
+| 三方库版本 | 发布信息 | 支持RN版本 |
+|-------| ------------------------------------------------------------ | ---------- |
+| 1.1.3 | [@react-native-oh-tpl/react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases) | 0.72 |
+| 1.1.4 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.72 |
+| 1.2.0 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.77 |
-请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
+对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。
进入到工程目录并输入以下命令:
@@ -252,7 +253,13 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases)
+请到三方库的 Releases 发布地址查看配套的版本信息:
+
+| 三方库版本 | 发布信息 | 支持RN版本 |
+|-------| ------------------------------------------------------------ | ---------- |
+| 1.1.3 | [@react-native-oh-tpl/react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases) | 0.72 |
+| 1.1.4 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.72 |
+| 1.2.0 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.77 |
## API
diff --git a/zh-cn/remobile-react-native-toast.md b/zh-cn/remobile-react-native-toast.md
index 2cfa61728..df033d2a0 100644
--- a/zh-cn/remobile-react-native-toast.md
+++ b/zh-cn/remobile-react-native-toast.md
@@ -36,20 +36,12 @@
#### **npm**
```bash
-#1.0.7
-npm install @react-native-oh-tpl/react-native-toast
-
-#1.0.8
npm install @react-native-ohos/react-native-toast
```
#### **yarn**
```bash
-#1.0.7
-yarn add @react-native-oh-tpl/react-native-toast
-
-#1.0.8
yarn add @react-native-ohos/react-native-toast
```
@@ -157,17 +149,6 @@ Version <= @react-native-oh-tpl/react-native-toast@1.0.7 暂不支持 AutoLink
打开 `entry/oh-package.json5`,添加以下依赖
-- V1.0.7
-
-```json
-"dependencies": {
-"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
-"@react-native-oh-tpl/react-native-toast": "file:../../node_modules/@react-native-oh-tpl/react-native-toast/harmony/rn_toast.har"
-}
-```
-
-- V1.0.8
-
```json
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
@@ -194,9 +175,6 @@ ohpm install
```diff
...
- //1.0.7
-+ import {ToastPackage} from '@react-native-oh-tpl/react-native-toast/ts';
- //1.0.8
+ import {ToastPackage} from '@react-native-ohos/react-native-toast/ts';
export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
return [
--
Gitee
From eda2e0a4ad18131de5eeba5bfab6a1ec57662d7d Mon Sep 17 00:00:00 2001
From: wangqiuyun1126 <727176064@qq.com>
Date: Sat, 22 Nov 2025 10:16:52 +0800
Subject: [PATCH 3/6] =?UTF-8?q?docs:=20[Issues:=20#ID7VS4]=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=8210=E4=B8=AA=E4=B8=89=E6=96=B9=E5=BA=93?=
=?UTF-8?q?=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
Signed-off-by: wangqiuyun1126 <727176064@qq.com>
---
en/react-native-apple-authentication.md | 4 ++--
en/react-native-community-checkbox.md | 6 +++---
en/react-native-default-preference.md | 7 ++++---
en/react-native-fingerprint-scanner.md | 6 +++---
en/react-native-haptic-feedback.md | 6 +++---
en/react-native-http-bridge.md | 6 +++---
en/react-native-localization.md | 6 +++---
en/react-native-performance.md | 8 ++++----
en/react-native-thumbnail.md | 6 +++---
en/remobile-react-native-toast.md | 6 +++---
zh-cn/react-native-apple-authentication.md | 4 ++--
zh-cn/react-native-community-checkbox.md | 6 +++---
zh-cn/react-native-default-preference.md | 6 +++---
zh-cn/react-native-fingerprint-scanner.md | 6 +++---
zh-cn/react-native-haptic-feedback.md | 6 +++---
zh-cn/react-native-http-bridge.md | 6 +++---
zh-cn/react-native-localization.md | 6 +++---
zh-cn/react-native-performance.md | 8 ++++----
zh-cn/react-native-thumbnail.md | 6 +++---
zh-cn/remobile-react-native-toast.md | 6 +++---
20 files changed, 61 insertions(+), 60 deletions(-)
diff --git a/en/react-native-apple-authentication.md b/en/react-native-apple-authentication.md
index e8a50b408..3593a36af 100644
--- a/en/react-native-apple-authentication.md
+++ b/en/react-native-apple-authentication.md
@@ -20,7 +20,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 2.3.0 | [@react-native-oh-tpl/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
+| 2.3.0@deprecated | [@react-native-oh-tpl/react-native-apple-authentication Releases(deprecated)](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
| 2.3.1 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.72 |
| 2.4.2 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.77 |
@@ -99,7 +99,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
Version >= @react-native-ohos/react-native-apple-authentication@2.3.1 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks.
Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Currently, Version <= @react-native-oh-tpl/react-native-apple-authentication@2.3.0-0.0.1@deprecated does not support AutoLink. Therefore, you need to manually configure the linking.
+This step provides guidance for manually configuring native dependencies.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
diff --git a/en/react-native-community-checkbox.md b/en/react-native-community-checkbox.md
index de88ba91c..593f7ad23 100644
--- a/en/react-native-community-checkbox.md
+++ b/en/react-native-community-checkbox.md
@@ -12,7 +12,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
|--------| ------------------------------------------------------------ | ---------- |
-| 0.6.0 | [@react-native-oh-tpl/checkbox Releases](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
+| 0.6.0@deprecated | [@react-native-oh-tpl/checkbox Releases(deprecated)](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
| 0.6.1 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.72 |
| 0.5.16 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.77 |
@@ -69,7 +69,7 @@ export default function CheckBoxExample() {
Version >= @react-native-ohos/checkbox@0.5.17 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
-Version <= @react-native-oh-tpl/checkbox@0.5.16 does not support AutoLink. Therefore, you need to manually configure the linking.
+This step provides guidance for manually configuring native dependencies.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -81,7 +81,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
|--------| ------------------------------------------------------------ | ---------- |
-| 0.6.0 | [@react-native-oh-tpl/checkbox Releases](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
+| 0.6.0@deprecated | [@react-native-oh-tpl/checkbox Releases(deprecated)](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
| 0.6.1 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.72 |
| 0.5.16 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.77 |
diff --git a/en/react-native-default-preference.md b/en/react-native-default-preference.md
index 1d019e65e..2dbf95e76 100644
--- a/en/react-native-default-preference.md
+++ b/en/react-native-default-preference.md
@@ -20,7 +20,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
|-------| ------------------------------------------------------------ | ---------- |
-| 1.4.4 | [@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases) | 0.72 |
+| 1.4.4@deprecated | [@react-native-oh-tpl/react-native-default-preference Releases(deprecated)](https://github.com/react-native-oh-library/react-native-default-preference/releases) | 0.72 |
| 1.4.5 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.72 |
| 1.5.0 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.77 |
@@ -84,7 +84,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
Version >= @react-native-ohos/react-native-default-preference@1.4.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
-Version <= @react-native-oh-tpl/react-native-default-preference@1.4.4 does not support AutoLink. Therefore, you need to manually configure the linking.
+This step provides guidance for manually configuring native dependencies.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -169,9 +169,10 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
|-------| ------------------------------------------------------------ | ---------- |
-| 1.4.4 | [@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases) | 0.72 |
+| 1.4.4@deprecated | [@react-native-oh-tpl/react-native-default-preference Releases(deprecated)](https://github.com/react-native-oh-library/react-native-default-preference/releases) | 0.72 |
| 1.4.5 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.72 |
| 1.5.0 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.77 |
+
## API
> [!TIP] The **Platform** column indicates the platform where the properties are supported in the original third-party library.
diff --git a/en/react-native-fingerprint-scanner.md b/en/react-native-fingerprint-scanner.md
index 24e64a0e0..2546dff6c 100644
--- a/en/react-native-fingerprint-scanner.md
+++ b/en/react-native-fingerprint-scanner.md
@@ -20,7 +20,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 6.0.0 | [@react-native-oh-tpl/react-native-fingerprint-scanner Releases](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) | 0.72 |
+| 6.0.0@deprecated | [@react-native-oh-tpl/react-native-fingerprint-scanner Releases(deprecated)](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) | 0.72 |
| 6.0.1 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.72 |
| 6.1.0 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.77 |
@@ -102,7 +102,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
Version >= @react-native-ohos/react-native-fingerprint-scanner@6.0.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
-Version <= @react-native-oh-tpl/react-native-fingerprint-scanner@6.0.0 does not support AutoLink. Therefore, you need to manually configure the linking.
+This step provides guidance for manually configuring native dependencies.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -248,7 +248,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 6.0.0 | [@react-native-oh-tpl/react-native-fingerprint-scanner Releases](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) | 0.72 |
+| 6.0.0@deprecated | [@react-native-oh-tpl/react-native-fingerprint-scanner Releases(deprecated)](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) | 0.72 |
| 6.0.1 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.72 |
| 6.1.0 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.77 |
diff --git a/en/react-native-haptic-feedback.md b/en/react-native-haptic-feedback.md
index 116283dd0..c333b942b 100644
--- a/en/react-native-haptic-feedback.md
+++ b/en/react-native-haptic-feedback.md
@@ -21,7 +21,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 2.2.1 | [@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
+| 2.2.1@deprecated | [@react-native-oh-tpl/react-native-haptic-feedback Releases(deprecated)](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
| 2.2.2 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.72 |
| 2.3.4 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.77 |
@@ -134,7 +134,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
Version >= @react-native-ohos/react-native-haptic-feedback@2.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
-Version <= @react-native-oh-tpl/react-native-haptic-feedback@2.2.1 does not support AutoLink. Therefore, you need to manually configure the linking.
+This step provides guidance for manually configuring native dependencies.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -279,7 +279,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 2.2.1 | [@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
+| 2.2.1@deprecated | [@react-native-oh-tpl/react-native-haptic-feedback Releases(deprecated)](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
| 2.2.2 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.72 |
| 2.3.4 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.77 |
diff --git a/en/react-native-http-bridge.md b/en/react-native-http-bridge.md
index 8431d4215..331bf3856 100644
--- a/en/react-native-http-bridge.md
+++ b/en/react-native-http-bridge.md
@@ -20,7 +20,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
|-------| ------------------------------------------------------------ | ---------- |
-| 0.6.1 | [@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases) | 0.72 |
+| 0.6.1@deprecated | [@react-native-oh-tpl/react-native-http-bridge Releases(deprecated)](https://github.com/react-native-oh-library/react-native-http-bridge/releases) | 0.72 |
| 0.6.2 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.72 |
| 0.7.0 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.77 |
@@ -156,7 +156,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
Version >= @react-native-ohos/react-native-http-bridge@0.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
-Version <= @react-native-oh-tpl/react-native-http-bridge@0.6.1 does not support Autolink. Therefore, you need to manually configure the linking.
+This step provides guidance for manually configuring native dependencies.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -244,7 +244,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
|-------| ------------------------------------------------------------ | ---------- |
-| 0.6.1 | [@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases) | 0.72 |
+| 0.6.1@deprecated | [@react-native-oh-tpl/react-native-http-bridge Releases(deprecated)](https://github.com/react-native-oh-library/react-native-http-bridge/releases) | 0.72 |
| 0.6.2 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.72 |
| 0.7.0 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.77 |
diff --git a/en/react-native-localization.md b/en/react-native-localization.md
index fd49bcab8..39307eb4b 100644
--- a/en/react-native-localization.md
+++ b/en/react-native-localization.md
@@ -22,7 +22,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
|-------| ------------------------------------------------------------ | ---------- |
-| 2.3.2 | [@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/react-native-localization/releases) | 0.72 |
+| 2.3.2@deprecated | [@react-native-oh-tpl/react-native-localization Releases(deprecated)](https://github.com/react-native-oh-library/react-native-localization/releases) | 0.72 |
| 2.3.3 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.72 |
| 2.4.0 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.77 |
@@ -184,7 +184,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
Version >= @react-native-ohos/react-native-localization@2.3.3 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks.
Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Currently, Version <= @react-native-oh-tpl/react-native-localization@2.3.2-0.0.1@deprecated does not support AutoLink. Therefore, you need to manually configure the linking.
+This step provides guidance for manually configuring native dependencies.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -270,7 +270,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
|-------| ------------------------------------------------------------ | ---------- |
-| 2.3.2 | [@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/react-native-localization/releases) | 0.72 |
+| 2.3.2@deprecated | [@react-native-oh-tpl/react-native-localization Releases(deprecated)](https://github.com/react-native-oh-library/react-native-localization/releases) | 0.72 |
| 2.3.3 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.72 |
| 2.4.0 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.77 |
diff --git a/en/react-native-performance.md b/en/react-native-performance.md
index 7595eeffc..be1e1f39e 100644
--- a/en/react-native-performance.md
+++ b/en/react-native-performance.md
@@ -21,7 +21,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 5.1.2 | [@react-native-oh-tpl/react-native-performance Releases](https://github.com/react-native-oh-library/react-native-performance/releases) | 0.72 |
+| 5.1.2@deprecated | [@react-native-oh-tpl/react-native-performance Releases(deprecated)](https://github.com/react-native-oh-library/react-native-performance/releases) | 0.72 |
| 5.1.3 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.72 |
| 5.2.0 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.77 |
@@ -68,7 +68,7 @@ import {
import performance, {
PerformanceObserver,
setResourceLoggingEnabled,
-} from "@react-native-oh-tpl/react-native-performance";
+} from "@react-native-ohos/react-native-performance";
export function TestNativePerformance() {
const [result1, setResult1] = React.useState(0);
const [result2, setResult2] = React.useState("");
@@ -218,7 +218,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
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
-Currently, Version <= @react-native-oh-tpl/react-native-performance@5.1.2-0.0.3@deprecated does not support AutoLink. Therefore, you need to manually configure the linking.
+This step provides guidance for manually configuring native dependencies.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -364,7 +364,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 5.1.2 | [@react-native-oh-tpl/react-native-performance Releases](https://github.com/react-native-oh-library/react-native-performance/releases) | 0.72 |
+| 5.1.2@deprecated | [@react-native-oh-tpl/react-native-performance Releases(deprecated)](https://github.com/react-native-oh-library/react-native-performance/releases) | 0.72 |
| 5.1.3 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.72 |
| 5.2.0 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.77 |
diff --git a/en/react-native-thumbnail.md b/en/react-native-thumbnail.md
index 5b2750061..92713c360 100644
--- a/en/react-native-thumbnail.md
+++ b/en/react-native-thumbnail.md
@@ -19,7 +19,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
|-------| ------------------------------------------------------------ | ---------- |
-| 1.1.3 | [@react-native-oh-tpl/react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases) | 0.72 |
+| 1.1.3@deprecated | [@react-native-oh-tpl/react-native-thumbnail Releases(deprecated)](https://github.com/react-native-oh-library/react-native-thumbnail/releases) | 0.72 |
| 1.1.4 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.72 |
| 1.2.0 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.77 |
@@ -171,7 +171,7 @@ If this repository has been adapted to Codegen, generate the bridge code of the
Version >= @react-native-ohos/react-native-thumbnail@1.1.4 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks.
Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Currently, Version <= @react-native-oh-tpl/react-native-thumbnail@1.1.3-0.0.1@deprecated does not support AutoLink. Therefore, you need to manually configure the linking.
+This step provides guidance for manually configuring native dependencies.
Open the harmony directory of the HarmonyOS project in DevEco Studio.
@@ -257,7 +257,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
|-------| ------------------------------------------------------------ | ---------- |
-| 1.1.3 | [@react-native-oh-tpl/react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases) | 0.72 |
+| 1.1.3@deprecated | [@react-native-oh-tpl/react-native-thumbnail Releases(deprecated)](https://github.com/react-native-oh-library/react-native-thumbnail/releases) | 0.72 |
| 1.1.4 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.72 |
| 1.2.0 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.77 |
diff --git a/en/remobile-react-native-toast.md b/en/remobile-react-native-toast.md
index 4131343cb..4883e3b83 100644
--- a/en/remobile-react-native-toast.md
+++ b/en/remobile-react-native-toast.md
@@ -21,7 +21,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 1.0.7 | [@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases) | 0.72 |
+| 1.0.7@deprecated | [@react-native-oh-tpl/react-native-toast Releases(deprecated)](https://github.com/react-native-oh-library/react-native-toast/releases) | 0.72 |
| 1.0.8 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.72 |
| 1.1.0 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.77 |
@@ -119,7 +119,7 @@ If this repository has been adapted to `Codegen`, generate the bridge code of th
Version >= @react-native-ohos/react-native-toast@1.0.8 now supports Autolink without requiring manual configuration, currently only supports 72 frameworks.
Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Version <= @react-native-oh-tpl/react-native-toast@1.0.7 does not support AutoLink. Therefore, you need to manually configure the linking.
+This step provides guidance for manually configuring native dependencies.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -263,7 +263,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 1.0.7 | [@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases) | 0.72 |
+| 1.0.7@deprecated | [@react-native-oh-tpl/react-native-toast Releases(deprecated)](https://github.com/react-native-oh-library/react-native-toast/releases) | 0.72 |
| 1.0.8 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.72 |
| 1.1.0 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.77 |
diff --git a/zh-cn/react-native-apple-authentication.md b/zh-cn/react-native-apple-authentication.md
index 5f1450982..e1ee184f0 100644
--- a/zh-cn/react-native-apple-authentication.md
+++ b/zh-cn/react-native-apple-authentication.md
@@ -22,7 +22,7 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 2.3.0 | [@react-native-oh-tpl/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
+| 2.3.0@deprecated | [@react-native-oh-tpl/react-native-apple-authentication Releases(deprecated)](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
| 2.3.1 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.72 |
| 2.4.2 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.77 |
@@ -95,7 +95,7 @@ export default AppleAuthenticationDemo;
Version >= @react-native-ohos/react-native-apple-authentication@2.3.1,已支持 Autolink,无需手动配置,目前只支持72框架。
Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Version <= @react-native-oh-tpl/react-native-apple-authentication@2.3.0-0.0.1@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
diff --git a/zh-cn/react-native-community-checkbox.md b/zh-cn/react-native-community-checkbox.md
index a03d980f0..a611d0179 100644
--- a/zh-cn/react-native-community-checkbox.md
+++ b/zh-cn/react-native-community-checkbox.md
@@ -12,7 +12,7 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
|--------| ------------------------------------------------------------ | ---------- |
-| 0.6.0 | [@react-native-oh-tpl/checkbox Releases](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
+| 0.6.0@deprecated | [@react-native-oh-tpl/checkbox Releases(deprecated)](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
| 0.6.1 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.72 |
| 0.5.16 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.77 |
@@ -69,7 +69,7 @@ export default function CheckBoxExample() {
Version >= @react-native-ohos/checkbox@0.5.17,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Version <= @react-native-oh-tpl/checkbox@0.5.16 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`。
@@ -245,7 +245,7 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
|--------| ------------------------------------------------------------ | ---------- |
-| 0.6.0 | [@react-native-oh-tpl/checkbox Releases](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
+| 0.6.0@deprecated | [@react-native-oh-tpl/checkbox Releases(deprecated)](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
| 0.6.1 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.72 |
| 0.5.16 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.77 |
diff --git a/zh-cn/react-native-default-preference.md b/zh-cn/react-native-default-preference.md
index 9123971dd..216e1040e 100644
--- a/zh-cn/react-native-default-preference.md
+++ b/zh-cn/react-native-default-preference.md
@@ -20,7 +20,7 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
|-------| ------------------------------------------------------------ | ---------- |
-| 1.4.4 | [@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases) | 0.72 |
+| 1.4.4@deprecated | [@react-native-oh-tpl/react-native-default-preference Releases(deprecated)](https://github.com/react-native-oh-library/react-native-default-preference/releases) | 0.72 |
| 1.4.5 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.72 |
| 1.5.0 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.77 |
@@ -84,7 +84,7 @@ Version >= @react-native-ohos/react-native-default-preference@1.4.5,已适配c
Version >= @react-native-ohos/react-native-default-preference@1.4.5,已支持 Autolink,无需手动配置,目前只支持72框架。 Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Version <= @react-native-oh-tpl/react-native-default-preference@1.4.4 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
@@ -173,7 +173,7 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
|-------| ------------------------------------------------------------ | ---------- |
-| 1.4.4 | [@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases) | 0.72 |
+| 1.4.4@deprecated | [@react-native-oh-tpl/react-native-default-preference Releases(deprecated)](https://github.com/react-native-oh-library/react-native-default-preference/releases) | 0.72 |
| 1.4.5 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.72 |
| 1.5.0 | [@react-native-ohos/react-native-default-preference Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-default-preference/releases) | 0.77 |
diff --git a/zh-cn/react-native-fingerprint-scanner.md b/zh-cn/react-native-fingerprint-scanner.md
index 32602716a..7e8b870b5 100644
--- a/zh-cn/react-native-fingerprint-scanner.md
+++ b/zh-cn/react-native-fingerprint-scanner.md
@@ -20,7 +20,7 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 6.0.0 | [@react-native-oh-tpl/react-native-fingerprint-scanner Releases](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) | 0.72 |
+| 6.0.0@deprecated | [@react-native-oh-tpl/react-native-fingerprint-scanner Releases(deprecated)](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) | 0.72 |
| 6.0.1 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.72 |
| 6.1.0 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.77 |
@@ -102,7 +102,7 @@ export default function App() {
Version > @react-native-ohos/react-native-fingerprint-scanner@6.0.1,已支持 Autolink,无需手动配置,目前只支持72框架。
Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Version <= @react-native-oh-tpl/react-native-fingerprint-scanner@6.0.0 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
@@ -250,7 +250,7 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 6.0.0 | [@react-native-oh-tpl/react-native-fingerprint-scanner Releases](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) | 0.72 |
+| 6.0.0@deprecated | [@react-native-oh-tpl/react-native-fingerprint-scanner Releases(deprecated)](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) | 0.72 |
| 6.0.1 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.72 |
| 6.1.0 | [@react-native-ohos/react-native-fingerprint-scanner Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-fingerprint-scanner/releases) | 0.77 |
diff --git a/zh-cn/react-native-haptic-feedback.md b/zh-cn/react-native-haptic-feedback.md
index a765b497d..d767496ad 100644
--- a/zh-cn/react-native-haptic-feedback.md
+++ b/zh-cn/react-native-haptic-feedback.md
@@ -21,7 +21,7 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 2.2.1 | [@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
+| 2.2.1@deprecated | [@react-native-oh-tpl/react-native-haptic-feedback Releases(deprecated)](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
| 2.2.2 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.72 |
| 2.3.4 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.77 |
@@ -134,7 +134,7 @@ export default HapticFeedbackExample;
Version >= @react-native-ohos/react-native-haptic-feedback@2.2.2,已支持 Autolink,无需手动配置,目前只支持72框架。
Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Version <= @react-native-oh-tpl/react-native-haptic-feedback@2.2.1 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的鸿蒙工程 `harmony`
@@ -282,7 +282,7 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 2.2.1 | [@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
+| 2.2.1@deprecated | [@react-native-oh-tpl/react-native-haptic-feedback Releases(deprecated)](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) | 0.72 |
| 2.2.2 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.72 |
| 2.3.4 | [@react-native-ohos/react-native-haptic-feedback Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-haptic-feedback/releases) | 0.77 |
diff --git a/zh-cn/react-native-http-bridge.md b/zh-cn/react-native-http-bridge.md
index 2d28fe46e..0cb5d18b3 100644
--- a/zh-cn/react-native-http-bridge.md
+++ b/zh-cn/react-native-http-bridge.md
@@ -20,7 +20,7 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
|-------| ------------------------------------------------------------ | ---------- |
-| 0.6.1 | [@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases) | 0.72 |
+| 0.6.1@deprecated | [@react-native-oh-tpl/react-native-http-bridge Releases(deprecated)](https://github.com/react-native-oh-library/react-native-http-bridge/releases) | 0.72 |
| 0.6.2 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.72 |
| 0.7.0 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.77 |
@@ -156,7 +156,7 @@ Version >= @react-native-ohos/react-native-http-bridge@0.6.2,已适配codegen-
Version >= @react-native-ohos/react-native-http-bridge@0.6.2,已支持 Autolink,无需手动配置,目前只支持72框架。
Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Version <= @react-native-oh-tpl/react-native-http-bridge@0.6.1 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
@@ -244,7 +244,7 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
|-------| ------------------------------------------------------------ | ---------- |
-| 0.6.1 | [@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases) | 0.72 |
+| 0.6.1@deprecated | [@react-native-oh-tpl/react-native-http-bridge Releases(deprecated)](https://github.com/react-native-oh-library/react-native-http-bridge/releases) | 0.72 |
| 0.6.2 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.72 |
| 0.7.0 | [@react-native-ohos/react-native-http-bridge Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-http-bridge/releases) | 0.77 |
diff --git a/zh-cn/react-native-localization.md b/zh-cn/react-native-localization.md
index f64c9f2a2..fc30f3f33 100644
--- a/zh-cn/react-native-localization.md
+++ b/zh-cn/react-native-localization.md
@@ -24,7 +24,7 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
|-------| ------------------------------------------------------------ | ---------- |
-| 2.3.2 | [@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/react-native-localization/releases) | 0.72 |
+| 2.3.2@deprecated | [@react-native-oh-tpl/react-native-localization Releases(deprecated)](https://github.com/react-native-oh-library/react-native-localization/releases) | 0.72 |
| 2.3.3 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.72 |
| 2.4.0 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.77 |
@@ -186,7 +186,7 @@ Version >= @react-native-ohos/react-native-localization@2.3.3,已适配codegen
Version >= @react-native-ohos/react-native-localization@2.3.3,已支持 Autolink,无需手动配置,目前只支持72框架。
Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Version <= @react-native-oh-tpl/react-native-localization@2.3.2-0.0.1@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的鸿蒙工程 `harmony`
@@ -273,7 +273,7 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
|-------| ------------------------------------------------------------ | ---------- |
-| 2.3.2 | [@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/react-native-localization/releases) | 0.72 |
+| 2.3.2@deprecated | [@react-native-oh-tpl/react-native-localization Releases(deprecated)](https://github.com/react-native-oh-library/react-native-localization/releases) | 0.72 |
| 2.3.3 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.72 |
| 2.4.0 | [@react-native-ohos/react-native-localization Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-localization/releases) | 0.77 |
diff --git a/zh-cn/react-native-performance.md b/zh-cn/react-native-performance.md
index b10345d79..836127885 100644
--- a/zh-cn/react-native-performance.md
+++ b/zh-cn/react-native-performance.md
@@ -22,7 +22,7 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 5.1.2 | [@react-native-oh-tpl/react-native-performance Releases](https://github.com/react-native-oh-library/react-native-performance/releases) | 0.72 |
+| 5.1.2@deprecated | [@react-native-oh-tpl/react-native-performance Releases(deprecated)](https://github.com/react-native-oh-library/react-native-performance/releases) | 0.72 |
| 5.1.3 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.72 |
| 5.2.0 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.77 |
@@ -58,7 +58,7 @@ import {
StatusBar,
TouchableOpacity
} from 'react-native';
-import performance,{PerformanceObserver,setResourceLoggingEnabled} from '@react-native-oh-tpl/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('')
@@ -212,7 +212,7 @@ const styles = StyleSheet.create({
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
-Version <= @react-native-oh-tpl/react-native-performance@5.1.2-0.0.3@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的鸿蒙工程 `harmony`
@@ -361,7 +361,7 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 5.1.2 | [@react-native-oh-tpl/react-native-performance Releases](https://github.com/react-native-oh-library/react-native-performance/releases) | 0.72 |
+| 5.1.2@deprecated | [@react-native-oh-tpl/react-native-performance Releases(deprecated)](https://github.com/react-native-oh-library/react-native-performance/releases) | 0.72 |
| 5.1.3 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.72 |
| 5.2.0 | [@react-native-ohos/react-native-performance Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-performance/releases) | 0.77 |
diff --git a/zh-cn/react-native-thumbnail.md b/zh-cn/react-native-thumbnail.md
index 335a3a880..3025b94bf 100644
--- a/zh-cn/react-native-thumbnail.md
+++ b/zh-cn/react-native-thumbnail.md
@@ -19,7 +19,7 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
|-------| ------------------------------------------------------------ | ---------- |
-| 1.1.3 | [@react-native-oh-tpl/react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases) | 0.72 |
+| 1.1.3@deprecated | [@react-native-oh-tpl/react-native-thumbnail Releases(deprecated)](https://github.com/react-native-oh-library/react-native-thumbnail/releases) | 0.72 |
| 1.1.4 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.72 |
| 1.2.0 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.77 |
@@ -171,7 +171,7 @@ Version >= @react-native-ohos/react-native-thumbnail@1.1.4,已适配codegen-li
Version >= @react-native-ohos/react-native-thumbnail@1.1.4,已支持 Autolink,无需手动配置,目前只支持72框架。
Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Version <= @react-native-oh-tpl/react-native-thumbnail@1.1.3-0.0.1@deprecated 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
@@ -257,7 +257,7 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
|-------| ------------------------------------------------------------ | ---------- |
-| 1.1.3 | [@react-native-oh-tpl/react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases) | 0.72 |
+| 1.1.3@deprecated | [@react-native-oh-tpl/react-native-thumbnail Releases(deprecated)](https://github.com/react-native-oh-library/react-native-thumbnail/releases) | 0.72 |
| 1.1.4 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.72 |
| 1.2.0 | [@react-native-ohos/react-native-thumbnail Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-thumbnail/releases) | 0.77 |
diff --git a/zh-cn/remobile-react-native-toast.md b/zh-cn/remobile-react-native-toast.md
index df033d2a0..c3f5d5be4 100644
--- a/zh-cn/remobile-react-native-toast.md
+++ b/zh-cn/remobile-react-native-toast.md
@@ -23,7 +23,7 @@
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 1.0.7 | [@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases) | 0.72 |
+| 1.0.7@deprecated | [@react-native-oh-tpl/react-native-toast Releases(deprecated)](https://github.com/react-native-oh-library/react-native-toast/releases) | 0.72 |
| 1.0.8 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.72 |
| 1.1.0 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.77 |
@@ -121,7 +121,7 @@ export default ToastMasterDemo;
Version >= @react-native-ohos/react-native-toast@1.0.8,已支持 Autolink,无需手动配置,目前只支持72框架。
Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
-Version <= @react-native-oh-tpl/react-native-toast@1.0.7 暂不支持 AutoLink,所以 Link 步骤需要手动配置。。
+此步骤为手动配置原生依赖项的指导。
首先需要使用 DevEco Studio 打开项目里的HarmonyOS工程 `harmony`
@@ -270,7 +270,7 @@ ohpm install
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 1.0.7 | [@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases) | 0.72 |
+| 1.0.7@deprecated | [@react-native-oh-tpl/react-native-toast Releases(deprecated)](https://github.com/react-native-oh-library/react-native-toast/releases) | 0.72 |
| 1.0.8 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.72 |
| 1.1.0 | [@react-native-ohos/react-native-toast Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-toast/releases) | 0.77 |
--
Gitee
From b1f41c6224a832b41818f681d73e57a9d7e00723 Mon Sep 17 00:00:00 2001
From: wangqiuyun1126 <727176064@qq.com>
Date: Sat, 22 Nov 2025 11:27:22 +0800
Subject: [PATCH 4/6] =?UTF-8?q?docs:=20[Issues:=20#ID7VS4]=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=8210=E4=B8=AA=E4=B8=89=E6=96=B9=E5=BA=93?=
=?UTF-8?q?=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
Signed-off-by: wangqiuyun1126 <727176064@qq.com>
---
en/react-native-apple-authentication.md | 2 +-
zh-cn/react-native-apple-authentication.md | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/en/react-native-apple-authentication.md b/en/react-native-apple-authentication.md
index 3593a36af..fcbb63c53 100644
--- a/en/react-native-apple-authentication.md
+++ b/en/react-native-apple-authentication.md
@@ -248,7 +248,7 @@ Please refer to the Releases page of the third-party library for the correspondi
| Third-party Library Version | Release Information | Supported RN Version |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 2.3.0 | [@react-native-oh-library/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
+| 2.3.0@deprecated | [@react-native-oh-tpl/react-native-apple-authentication Releases(deprecated)](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
| 2.3.1 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.72 |
| 2.4.2 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.77 |
diff --git a/zh-cn/react-native-apple-authentication.md b/zh-cn/react-native-apple-authentication.md
index e1ee184f0..72549e75f 100644
--- a/zh-cn/react-native-apple-authentication.md
+++ b/zh-cn/react-native-apple-authentication.md
@@ -243,11 +243,11 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:
+请到三方库的 Releases 发布地址查看配套的版本信息:
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
-| 2.3.0 | [@react-native-oh-library/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
+| 2.3.0@deprecated | [@react-native-oh-tpl/react-native-apple-authentication Releases(deprecated)](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) | 0.72 |
| 2.3.1 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.72 |
| 2.4.2 | [@react-native-ohos/react-native-apple-authentication Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-apple-authentication/releases) | 0.77 |
--
Gitee
From beaef5e5f8b46c1ca25c05a6305695c3c661e5c2 Mon Sep 17 00:00:00 2001
From: wangqiuyun1126 <727176064@qq.com>
Date: Sat, 22 Nov 2025 11:38:19 +0800
Subject: [PATCH 5/6] =?UTF-8?q?docs:=20[Issues:=20#ID7VS4]=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=8210=E4=B8=AA=E4=B8=89=E6=96=B9=E5=BA=93?=
=?UTF-8?q?=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
Signed-off-by: wangqiuyun1126 <727176064@qq.com>
---
zh-cn/react-native-fingerprint-scanner.md | 2 +-
zh-cn/react-native-haptic-feedback.md | 2 +-
zh-cn/react-native-performance.md | 2 +-
zh-cn/remobile-react-native-toast.md | 3 +--
4 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/zh-cn/react-native-fingerprint-scanner.md b/zh-cn/react-native-fingerprint-scanner.md
index 7e8b870b5..4f672b956 100644
--- a/zh-cn/react-native-fingerprint-scanner.md
+++ b/zh-cn/react-native-fingerprint-scanner.md
@@ -246,7 +246,7 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:
+请到三方库的 Releases 发布地址查看配套的版本信息:
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
diff --git a/zh-cn/react-native-haptic-feedback.md b/zh-cn/react-native-haptic-feedback.md
index d767496ad..fb9698424 100644
--- a/zh-cn/react-native-haptic-feedback.md
+++ b/zh-cn/react-native-haptic-feedback.md
@@ -278,7 +278,7 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:
+请到三方库的 Releases 发布地址查看配套的版本信息:
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
diff --git a/zh-cn/react-native-performance.md b/zh-cn/react-native-performance.md
index 836127885..1175d92fa 100644
--- a/zh-cn/react-native-performance.md
+++ b/zh-cn/react-native-performance.md
@@ -357,7 +357,7 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:
+请到三方库的 Releases 发布地址查看配套的版本信息:
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
diff --git a/zh-cn/remobile-react-native-toast.md b/zh-cn/remobile-react-native-toast.md
index c3f5d5be4..e574cd921 100644
--- a/zh-cn/remobile-react-native-toast.md
+++ b/zh-cn/remobile-react-native-toast.md
@@ -265,8 +265,7 @@ ohpm install
要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。
-请到三方库相应的 Releases 发布地址查看 Release
-配套的版本信息:
+请到三方库的 Releases 发布地址查看配套的版本信息:
| 三方库版本 | 发布信息 | 支持RN版本 |
| ---------- | ------------------------------------------------------------ | ---------- |
--
Gitee
From b398ba44f470f83c50c38144cc50faac15f73508 Mon Sep 17 00:00:00 2001
From: wangqiuyun1126 <727176064@qq.com>
Date: Sat, 22 Nov 2025 15:24:35 +0800
Subject: [PATCH 6/6] =?UTF-8?q?docs:=20=E4=B8=89=E6=96=B9=E5=BA=93?=
=?UTF-8?q?=E9=80=82=E9=85=8Dcli=E5=B7=A5=E5=85=B7=E9=9C=80=E6=B1=82?=
=?UTF-8?q?=EF=BC=8C=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: wangqiuyun1126 <727176064@qq.com>
---
en/react-native-community-checkbox.md | 28 ++++++++----------------
zh-cn/react-native-community-checkbox.md | 26 +++++++---------------
2 files changed, 17 insertions(+), 37 deletions(-)
diff --git a/en/react-native-community-checkbox.md b/en/react-native-community-checkbox.md
index 593f7ad23..b16be2b1c 100644
--- a/en/react-native-community-checkbox.md
+++ b/en/react-native-community-checkbox.md
@@ -4,19 +4,17 @@
@react-native-community/checkbox
-> [!TIP] [GitHub address][@react-native-community/checkbox](https://github.com/react-native-checkbox/react-native-checkbox).
+This project is based on [@react-native-community/checkbox](https://github.com/react-native-checkbox/react-native-checkbox).
-## 1. Installation and Usage
-Please refer to the Releases page of the third-party library for the corresponding version information
+This third-party library has been migrated to Gitee and is now available for direct download from npm, the new package name is:`@react-native-ohos/checkbox`, The version correspondence details are as follows:
-| Third-party Library Version | Release Information | Supported RN Version |
-|--------| ------------------------------------------------------------ | ---------- |
-| 0.6.0@deprecated | [@react-native-oh-tpl/checkbox Releases(deprecated)](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
-| 0.6.1 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.72 |
-| 0.5.16 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.77 |
+| Version | Package Name | Repository | Release |
+| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- |
+| <= 0.5.16-0.1.0@deprecated | @react-native-oh-tpl/checkbox | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-checkbox) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-checkbox/releases) |
+| >= 0.5.17 | @react-native-ohos/checkbox | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) |
-For older versions not published on npm, please refer to the [Installation Guide](/zh-cn/tgz-usage.md) to install the tgz package.
+## 1. Installation and Usage
Go to the project directory and execute the following instruction:
@@ -67,8 +65,6 @@ export default function CheckBoxExample() {
## 2. Manual Link
-Version >= @react-native-ohos/checkbox@0.5.17 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
-
This step provides guidance for manually configuring native dependencies.
Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
@@ -77,13 +73,7 @@ Open the `harmony` directory of the HarmonyOS project in DevEco Studio.
To ensure the project relies on the same version of the RN SDK, you need to add an `overrides` field in the project's root `oh-package.json5` file, specifying the RN SDK version to be used. The replacement version can be a specific version number, a semver range, or a locally available HAR package or source directory.
-Please refer to the Releases page of the third-party library for the corresponding version information
-
-| Third-party Library Version | Release Information | Supported RN Version |
-|--------| ------------------------------------------------------------ | ---------- |
-| 0.6.0@deprecated | [@react-native-oh-tpl/checkbox Releases(deprecated)](https://github.com/react-native-oh-library/react-native-checkbox/releases) | 0.72 |
-| 0.6.1 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.72 |
-| 0.5.16 | [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases) | 0.77 |
+For more information about the purpose of this field, please refer to the [official documentation](https://developer.huawei.com/consumer/en/doc/harmonyos-guides-V5/ide-oh-package-json5-V5#en-us_topic_0000001792256137_overrides).
```json
{
@@ -246,7 +236,7 @@ Then build and run the code.
### 3.1. Compatibility
-Check the release version information in the release address of the third-party library: [@react-native-ohos/checkbox Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-checkbox/releases)
+Check the release version information in the release address of the third-party library: [@react-native-ohos/checkbox Releases](https://gitee.com/openharmony-sig/rntpc_react-native-checkbox/releases)
## 4. Properties
diff --git a/zh-cn/react-native-community-checkbox.md b/zh-cn/react-native-community-checkbox.md
index a611d0179..c0d11b50d 100644
--- a/zh-cn/react-native-community-checkbox.md
+++ b/zh-cn/react-native-community-checkbox.md
@@ -4,19 +4,17 @@