From 7a77a78e97e21f675645354bc4ffc1f3cfc266d1 Mon Sep 17 00:00:00 2001 From: yp9522 Date: Tue, 25 Nov 2025 21:49:52 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:#ID8O0L]=E4=BF=AE=E6=94=B9react?= =?UTF-8?q?-native-wechat-lib=E7=9A=84=E4=B8=AD=E8=8B=B1=E6=96=87=E6=8C=87?= =?UTF-8?q?=E5=AF=BC=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yp9522 --- en/react-native-wechat-lib.md | 14 ++++++++++---- zh-cn/react-native-wechat-lib.md | 16 ++++++++++++---- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/en/react-native-wechat-lib.md b/en/react-native-wechat-lib.md index 8c12fe79..6b0b0ebe 100644 --- a/en/react-native-wechat-lib.md +++ b/en/react-native-wechat-lib.md @@ -15,9 +15,14 @@ > [!TIP] [Github address](https://github.com/react-native-oh-library/react-native-wechat-lib) -## Installation and Usage +Please check the corresponding version information at the third-party library's Releases page: + +| Library Version | Release Information | Supported RN Version | +| ---------- | ------------------------------------------------------------ | ---------- | +| 3.0.6 | [@react-native-ohos/react-native-wechat-lib Releases](https://github.com/react-native-oh-library/react-native-wechat-lib/releases) | 0.72 | +| 3.1.0 | [@react-native-ohos/react-native-wechat-lib Releases]() | 0.77 | -Find the matching version information in the release address of a third-party library:[@react-native-ohos/react-native-wechat-lib Releases](https://github.com/react-native-oh-library/react-native-wechat-lib/releases)。 +## Installation and Usage Go to the project directory and execute the following instruction:: @@ -327,9 +332,10 @@ Then build and run the code. ### Compatibility -To use this repository, you need to use the correct React-Native and RNOH versions. In addition, you need to use DevEco Studio and the ROM on your phone. +This document is verified based on the following versions: -Check the release version information in the release address of the third-party library:[@react-native-ohos/react-native-wechat-lib](https://github.com/react-native-oh-library/react-native-wechat-lib/releases) +1. RNOH:0.72.33; SDK:OpenHarmony 5.0.0.71(API Version 12 Release); IDE:DevEco Studio 5.0.3.900; ROM:NEXT.0.0.71; +2. RNOH: 0.77.18; SDK: HarmonyOS 6.0.0 Release SDK; IDE: DevEco Studio 6.0.0.868; ROM: 6.0.0.112; ## API diff --git a/zh-cn/react-native-wechat-lib.md b/zh-cn/react-native-wechat-lib.md index d991c308..a8cebfeb 100644 --- a/zh-cn/react-native-wechat-lib.md +++ b/zh-cn/react-native-wechat-lib.md @@ -15,9 +15,16 @@ > [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-wechat-lib) -## 安装与使用 +请到三方库的 Releases 发布地址查看配套的版本信息: + +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 3.0.6 | [@react-native-ohos/react-native-wechat-lib Releases](https://github.com/react-native-oh-library/react-native-wechat-lib/releases) | 0.72 | +| 3.1.0 | [@react-native-ohos/react-native-wechat-lib Releases]() | 0.77 | -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-ohos/react-native-wechat-lib Releases](https://github.com/react-native-oh-library/react-native-wechat-lib/releases)。 +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 + +## 安装与使用 进入到工程目录并输入以下命令: @@ -330,9 +337,10 @@ ohpm install ### 兼容性 -要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 +本文档内容基于以下版本验证通过: -请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/react-native-wechat-lib](https://github.com/react-native-oh-library/react-native-wechat-lib/releases) +1. RNOH:0.72.33; SDK:OpenHarmony 5.0.0.71(API Version 12 Release); IDE:DevEco Studio 5.0.3.900; ROM:NEXT.0.0.71; +2. RNOH:0.77.18; SDK:HarmonyOS 6.0.0 Release SDK; IDE: DevEco Studio 6.0.0.868; ROM:6.0.0.112; ## API -- Gitee