diff --git a/en/react-native-MJRefresh.md b/en/react-native-MJRefresh.md index 10ccab2b368a479da77c897258d5ab533176463e..b2e0645197e154d9fd878c960ce181886f991796 100644 --- a/en/react-native-MJRefresh.md +++ b/en/react-native-MJRefresh.md @@ -15,16 +15,14 @@ > [!TIP] [Github address](https://github.com/react-native-oh-library/react-native-MJRefresh) -## Installation and Usage - -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.7.0-0.2.2@deprecated | [@react-native-oh-tpl/react-native-MJRefresh Releases(deprecated)](https://github.com/react-native-oh-library/react-native-MJRefresh/releases) | 0.72 | -| 0.7.1 | [@react-native-ohos/react-native-MJRefresh Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-mjrefresh/releases) | 0.72 | +The repository of this third-party library Github and supports direct download from npm. The new package name is: @react-native-ohos/react-native-mjrefresh. The specific version ownership relationship is as follows: -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 | Support RN version | +| ---------- | ------------------------------------------------------------ | ---------- | ---------- | ---------- | +| <= 0.7.0-0.2.2@deprecated| @react-native-oh-tpl/react-native-mjrefresh | [Github](https://github.com/react-native-oh-library/react-native-MJRefresh/tree/sig)|[Github Releases](https://github.com/react-native-oh-library/react-native-MJRefresh/releases)|0.72 | +| 0.7.1| @react-native-ohos/react-native-mjrefresh | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-mjrefresh/tree/br_rnoh0.72) |[GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-mjrefresh/releases) | 0.72 | +| 0.8.0| @react-native-ohos/react-native-mjrefresh | [Github](https://github.com/react-native-oh-library/react-native-MJRefresh/tree/br_rnoh0.77) |[Github Releases](https://github.com/react-native-oh-library/react-native-MJRefresh/releases) | 0.77 | +## Installation and Usage Go to the project directory and execute the following instruction: @@ -177,7 +175,7 @@ ohpm install Method 2: Directly link to the source code. -> [!TIP] For details, see [Directly Linking Source Code](/en/link-source-code.md). +For details, see [Directly Linking Source Code](/en/link-source-code.md). ### 3. Configuring CMakeLists and Introducing MJRefreshPackge @@ -255,8 +253,6 @@ 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. - Verified in the following versions. 1. RNOH: 0.72.96; SDK: HarmonyOS 6.0.0 Release SDK; IDE: DevEco Studio 6.0.0.858; ROM: 6.0.0.112; diff --git a/zh-cn/react-native-MJRefresh.md b/zh-cn/react-native-MJRefresh.md index b72ace1be06af7f50b65e0e345b1fa1ca0e0d5d2..ebf95105865e27fc0e30d4aa887d1c023d8a7ff9 100644 --- a/zh-cn/react-native-MJRefresh.md +++ b/zh-cn/react-native-MJRefresh.md @@ -15,16 +15,15 @@ > [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-MJRefresh) -## 安装与使用 - -请到三方库的 Releases 发布地址查看配套的版本信息: +该第三方库的仓库Github上,且支持直接从 npm 下载,新的包名为:@react-native-ohos/react-native-mjrefresh,具体版本所属关系如下: -| 三方库版本 | 发布信息 | 支持RN版本 | -|-------| ------------------------------------------------------------ | ---------- | -| <= 0.7.0-0.2.2@deprecated | [@react-native-oh-tpl/react-native-MJRefresh Releases(deprecated)](https://github.com/react-native-oh-library/react-native-MJRefresh/releases) | 0.72 | -| 0.7.1 | [@react-native-ohos/react-native-MJRefresh Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-mjrefresh/releases) | 0.72 | +| 三方库版本 | 包名 | 仓库地址 | 发布(Release) | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | ---------- | ---------- | +| <= 0.7.0-0.2.2@deprecated | @react-native-oh-tpl/react-native-mjrefresh | [Github](https://github.com/react-native-oh-library/react-native-MJRefresh/tree/sig)|[Github Releases](https://github.com/react-native-oh-library/react-native-MJRefresh/releases)|0.72 | +| 0.7.1| @react-native-ohos/react-native-mjrefresh | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-mjrefresh/tree/br_rnoh0.72) |[GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-mjrefresh/releases) | 0.72 | +| 0.8.0| @react-native-ohos/react-native-mjrefresh | [Github](https://github.com/react-native-oh-library/react-native-MJRefresh/tree/br_rnoh0.77) |[Github Releases](https://github.com/react-native-oh-library/react-native-MJRefresh/releases) | 0.77 | -对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +## 安装与使用 进入到工程目录并输入以下命令: @@ -178,7 +177,7 @@ ohpm install 方法二:直接链接源码 -> [!TIP] 如需使用直接链接源码,请参考[直接链接源码说明](/zh-cn/link-source-code.md) +如需使用直接链接源码,请参考[直接链接源码说明](/zh-cn/link-source-code.md) ### 3.配置 CMakeLists 和引入 MJRefreshPackge @@ -256,8 +255,6 @@ ohpm install ### 兼容性 -要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 - 在以下版本验证通过: 1. RNOH: 0.72.96; SDK: HarmonyOS 6.0.0 Release SDK; IDE: DevEco Studio 6.0.0.858; ROM: 6.0.0.112;