diff --git a/zh-cn/react-native-autoheight-webview.md b/zh-cn/react-native-autoheight-webview.md index 771bdcbc9cec6a29223eefc6e906bd01a4556246..d86a6d8ffccd728c724401aa88ab664735c0aa0f 100644 --- a/zh-cn/react-native-autoheight-webview.md +++ b/zh-cn/react-native-autoheight-webview.md @@ -16,8 +16,13 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-autoheight-webview Releases](https://github.com/react-native-oh-library/react-native-autoheight-webview/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 1.6.5 | [@react-native-oh-tpl/react-native-autoheight-webview Releases](https://github.com/react-native-oh-library/react-native-autoheight-webview/releases) | 0.72 | +| 1.6.5 | [@react-native-oh-tpl/react-native-exception-handler Releases]() | 0.77 | +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: @@ -25,12 +30,14 @@ #### **npm** ```bash +#1.6.5 npm install @react-native-oh-tpl/react-native-autoheight-webview ``` #### **yarn** ```bash +#1.6.5 yarn add @react-native-oh-tpl/react-native-autoheight-webview ``` diff --git a/zh-cn/react-native-community-checkbox.md b/zh-cn/react-native-community-checkbox.md index c0d11b50d4ba0dd829af97b90613d54f2e51560c..75b8050a6eaf34ac386b138701f5bc8376747e1c 100644 --- a/zh-cn/react-native-community-checkbox.md +++ b/zh-cn/react-native-community-checkbox.md @@ -6,13 +6,12 @@ 本项目基于 [@react-native-community/checkbox](https://github.com/react-native-checkbox/react-native-checkbox) 开发。 +| Version | Package Name | Repository | Release | Version for RN | +| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- | ------------------------- | +| <= 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.72 | +| >= 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)| 0.72/0.77 | -该第三方库的仓库已迁移至 Gitee,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/checkbox`,具体版本所属关系如下: -| 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) | ## 1. 安装与使用 @@ -23,13 +22,21 @@ #### **npm** ```bash +#v0.5.17 npm install @react-native-ohos/checkbox + +#v0.5.16 +npm install @react-native-oh-tpl/checkbox ``` #### **yarn** ```bash +#v0.5.17 yarn add @react-native-ohos/checkbox + +#v0.5.16 +yarn add @react-native-oh-tpl/checkbox ``` @@ -97,6 +104,7 @@ export default function CheckBoxExample() { > [!TIP] har 包位于三方库安装路径的 `harmony` 文件夹下。 打开 `entry/oh-package.json5`,添加以下依赖 +- V0.5.17 ```json "dependencies": { @@ -104,6 +112,14 @@ export default function CheckBoxExample() { "@react-native-ohos/checkbox": "file:../../node_modules/@react-native-ohos/checkbox/harmony/checkbox.har", } ``` +- V0.5.16 + +```json +"dependencies": { + "@rnoh/react-native-openharmony": "file:../react_native_openharmony", + "@react-native-ohos/checkbox": "file:../../node_modules/@react-native-oh-tpl/checkbox/harmony/checkbox.har", + } +``` 点击右上角的 `sync` 按钮 @@ -133,7 +149,12 @@ add_subdirectory("${RNOH_CPP_DIR}" ./rn) # RNOH_BEGIN: manual_package_linking_1 add_subdirectory("../../../../sample_package/src/main/cpp" ./sample-package) +#v0.5.17 + add_subdirectory("${OH_MODULES}/@react-native-ohos/checkbox/src/main/cpp" ./checkbox) + +#v0.5.16 ++ add_subdirectory("${OH_MODULES}/@react-native-oh-tpl/checkbox/src/main/cpp" ./checkbox) + # RNOH_END: manual_package_linking_1 add_library(rnoh_app SHARED @@ -237,7 +258,11 @@ 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 配套的版本信息: +| Version | Package Name | Repository | Release | Version for RN | +| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- | ------------------------- | +| <= 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.72 | +| >= 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)| 0.72/0.77 | ## 4. 属性 diff --git a/zh-cn/react-native-community-push-notification-ios.md b/zh-cn/react-native-community-push-notification-ios.md index 60cd6858d6d0d79a070ac8c807247a9d2a40a8d5..b25a2012ff24584cd4a47edfd1108fd245906923 100644 --- a/zh-cn/react-native-community-push-notification-ios.md +++ b/zh-cn/react-native-community-push-notification-ios.md @@ -8,10 +8,12 @@ 该第三方库的仓库已迁移至 Gitee,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/push-notification-ios`,具体版本所属关系如下: -| Version | Package Name | Repository | Release | -|----------------------------| ------------------------------------------------- | ------------------ | -------------------------- | -| <= 1.11.0-0.1.3@deprecated | @react-native-oh-tpl/push-notification-ios | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-push-notification-ios) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-push-notification-ios/releases) | -| > 1.11.0 | @react-native-ohos/push-notification-ios | [GitCode](https://gitcode.com/openharmony-sig/rntpc_ios) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_ios/releases) | +| Version | Package Name | Repository | Release | Version for RN | +| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- | ------------------------- | +| <= 1.11.0-0.1.3@deprecated | @react-native-oh-tpl/push-notification-ios | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-push-notification-ios) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-push-notification-ios/releases)| 0.72 | +| > 1.11.0 | @react-native-ohos/push-notification-ios | [GitCode](https://gitcode.com/openharmony-sig/rntpc_ios) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_ios/releases) | 0.72/0.77 | + + ## 1. 安装与使用 @@ -22,12 +24,20 @@ #### **npm** ```bash +#v1.11.0 +npm install @react-native-oh-tpl/push-notification-ios + +#v1.11.1 npm install @react-native-ohos/push-notification-ios ``` #### **yarn** ```bash +#v1.11.0 +yarn add @react-native-oh-tpl/push-notification-ios + +#v1.11.1 yarn add @react-native-ohos/push-notification-ios ``` @@ -195,7 +205,13 @@ export const App = () => { > [!TIP] har 包位于三方库安装路径的 `harmony` 文件夹下。 打开 `entry/oh-package.json5`,添加以下依赖 - +- V1.11.0 +```json +"dependencies": { + "@react-native-ohos/push-notification-ios": "file:../../node_modules/@react-native-oh-tpl/push-notification-ios/harmony/push_notification.har" + } +``` +- V1.11.1 ```json "dependencies": { "@react-native-ohos/push-notification-ios": "file:../../node_modules/@react-native-ohos/push-notification-ios/harmony/push_notification.har" @@ -223,6 +239,10 @@ ohpm install + set(OH_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules") # RNOH_BEGIN: manual_package_linking_1 +#V1.11.0 ++ add_subdirectory("${OH_MODULES}/@react-native-oh-tpl/push-notification-ios/src/main/cpp" ./push_notification) + +#V1.11.1 + add_subdirectory("${OH_MODULES}/@react-native-ohos/push-notification-ios/src/main/cpp" ./push_notification) # RNOH_END: manual_package_linking_1 @@ -254,6 +274,10 @@ std::vector> PackageProvider::getPackages(Package::Cont ```diff ... + //V1.11.0 ++ import { PushNotificationPackage } from '@react-native-oh-tpl/push-notification-ios/ts'; + + //V1.11.1 + import { PushNotificationPackage } from '@react-native-ohos/push-notification-ios/ts'; export function createRNPackages(ctx: RNPackageContext): RNPackage[] { @@ -270,6 +294,10 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { ```diff ... +//V1.11.0 ++ import { PushNotificationModule } from '@react-native-oh-tpl/push-notification-ios/ts'; + +//V1.11.1 + import { PushNotificationModule } from '@react-native-ohos/push-notification-ios/ts'; ... onNewWant(want: Want, _launchParam: AbilityConstant.LaunchParam): void { @@ -294,7 +322,11 @@ ohpm install ### 3.1. 兼容性 -请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/push-notification-ios Releases](https://gitee.com/openharmony-sig/rntpc_ios/releases) +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: +| Version | Package Name | Repository | Release | Version for RN | +| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- | ------------------------- | +| <= 1.11.0-0.1.3@deprecated | @react-native-oh-tpl/push-notification-ios | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-push-notification-ios) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-push-notification-ios/releases)| 0.72 | +| > 1.11.0 | @react-native-ohos/push-notification-ios | [GitCode](https://gitcode.com/openharmony-sig/rntpc_ios) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_ios/releases) | 0.72/0.77 | ## 4. API diff --git a/zh-cn/react-native-cookies-cookies.md b/zh-cn/react-native-cookies-cookies.md index 01a23afc00b03cee746054f8a4e6a31df137b81d..a7af91772dd1a6c836452092fd0dcaaf463c9dd8 100644 --- a/zh-cn/react-native-cookies-cookies.md +++ b/zh-cn/react-native-cookies-cookies.md @@ -16,21 +16,28 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/cookies Releases](https://github.com/react-native-oh-library/react-native-cookies/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 6.2.1 | [@react-native-oh-tpl/cookies Releases](https://github.com/react-native-oh-library/react-native-cookies/releases) | 0.72 | +| 6.2.1 | [@react-native-oh-tpl/cookies Releases]() | 0.77 | -进入到工程目录并输入以下命令: +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +进入到工程目录并输入以下命令: #### **npm** ```bash +#6.2.1 npm install @react-native-oh-tpl/cookies ``` #### **yarn** -``` +```bash +#6.2.1 yarn add @react-native-oh-tpl/cookies ``` diff --git a/zh-cn/react-native-drag-sort.md b/zh-cn/react-native-drag-sort.md index d57d58ebfb6fb81d9a0057884efc82bbe8bbe7cf..bff14e47026cafad69998079cfbb99fbe9e99513 100644 --- a/zh-cn/react-native-drag-sort.md +++ b/zh-cn/react-native-drag-sort.md @@ -17,21 +17,32 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-drag-sort Releases](https://github.com/react-native-oh-library/react-native-drag-sort/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 + +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 2.4.4 | [@react-native-oh-tpl/react-native-drag-sort Releases](https://github.com/react-native-oh-library/react-native-drag-sort/releases) | 0.72 | +| 2.4.4 | [@react-native-oh-tpl/react-native-drag-sort Releases]() | 0.77 | + +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: + + #### **yarn** ```bash +#2.4.4 yarn add @react-native-oh-tpl/react-native-drag-sort ``` #### **npm** ```bash +#2.4.4 npm install @react-native-oh-tpl/react-native-drag-sort ``` diff --git a/zh-cn/react-native-exception-handler.md b/zh-cn/react-native-exception-handler.md index c991de8815f738335730fba193061068b2d38975..45de09b292a3cd3775d9216d5f9efec8a3344c4e 100644 --- a/zh-cn/react-native-exception-handler.md +++ b/zh-cn/react-native-exception-handler.md @@ -16,8 +16,13 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-exception-handler Releases](https://github.com/react-native-oh-library/react-native-exception-handler/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 2.10.10 | [@react-native-oh-tpl/react-native-exception-handler Releases](https://github.com/react-native-oh-library/react-native-exception-handler/releases) | 0.72 | +| 2.10.10 | [@react-native-oh-tpl/react-native-exception-handler Releases]() | 0.77 | +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: @@ -25,12 +30,14 @@ #### **npm** ```bash +#v2.10.10 npm install @react-native-oh-tpl/react-native-exception-handler ``` #### **yarn** ```bash +#v2.10.10 yarn add @react-native-oh-tpl/react-native-exception-handler ``` @@ -144,6 +151,7 @@ export const ReactNativeExceptionHandler = () => { > [!TIP] har 包位于三方库安装路径的 `harmony` 文件夹下。 打开 `entry/oh-package.json5`,添加以下依赖 +- V2.10.10 ```json "dependencies": { @@ -168,6 +176,8 @@ ohpm install ### 3.配置 CMakeLists 和引入 ExceptionHandlerPackage +> [!TIP] V2.10.10 需要配置CMakeLists 和引入 RNBackgroundFetchPackage。 + 打开 `entry/src/main/cpp/CMakeLists.txt`,添加: ```diff @@ -229,6 +239,7 @@ std::vector> PackageProvider::getPackages(Package::Cont ```diff ... + //v2.10.10 + import {ExceptionHandlerPackage} from '@react-native-oh-tpl/react-native-exception-handler/ts'; export function createRNPackages(ctx: RNPackageContext): RNPackage[] { @@ -257,7 +268,11 @@ ohpm install 要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 -请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-oh-tpl/reace-native-exception-handler Releases](https://github.com/react-native-oh-library/react-native-exception-handler/releases) +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 2.10.10 | [@react-native-oh-tpl/react-native-exception-handler Releases](https://github.com/react-native-oh-library/react-native-exception-handler/releases) | 0.72 | +| 2.10.10 | [@react-native-oh-tpl/react-native-exception-handler Releases]() | 0.77 | ## 静态方法 diff --git a/zh-cn/react-native-fast-image.md b/zh-cn/react-native-fast-image.md index ff69b27e4bbf41e457eb3a8bf69793456c249449..2b2bf6c51f0181318163e9222ea85dab2f66869c 100644 --- a/zh-cn/react-native-fast-image.md +++ b/zh-cn/react-native-fast-image.md @@ -15,8 +15,15 @@ > [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-fast-image) ## 安装与使用 +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 8.6.3 |[@react-native-oh-tpl/react-native-fast-image Releases](https://github.com/react-native-oh-library/react-native-fast-image/releases)| 0.72 | +| 8.6.4 |[@react-native-oh-tpl/react-native-fast-image Releases]() | 0.77 | + +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 + -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-fast-image Releases](https://github.com/react-native-oh-library/react-native-fast-image/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 > [!WARNING] react-native-fast-image组件在运行时会默认开启app.setImangeCacheCount 申请内存,可以通过globalThis.IsSetImageRawDataCacheSize赋值进行关闭,关闭后图片比较多时会影响解码速度,可以通过在业务逻辑自定义app.setImangeCacheCount 内存申请,提高解码速度,[参考连接](https://github.com/react-native-oh-library/react-native-fast-image/blob/sig/harmony/fast_image/src/main/ets/FastImagePackage.ts)。 @@ -27,13 +34,21 @@ #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-fast-image +#v8.6.3 +npm install @react-native-oh-tpl/react-native-fast-image@8.6.3 + +#v8.6.4 +npm install @react-native-oh-tpl/react-native-fast-image@8.6.4 ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-fast-image +#v8.6.3 +yarn add @react-native-oh-tpl/react-native-fast-image@8.6.3 + +#v8.6.4 +yard add @react-native-oh-tpl/react-native-fast-image@8.6.4 ``` diff --git a/zh-cn/react-native-fs.md b/zh-cn/react-native-fs.md index c60ea9c24e60a66565963209efb24a9b066a30dd..a15f78e5c2cec782c9f396766fc49ea9a5022276 100644 --- a/zh-cn/react-native-fs.md +++ b/zh-cn/react-native-fs.md @@ -6,10 +6,14 @@ 本项目基于 [react-native-fs@2.20.0](https://github.com/itinance/react-native-fs/tree/v2.20.0) 开发。 -| Version | Package Name | Repository | Release | -| --------------------------- | ------------------------------------ | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| <= 2.20.0-0.1.14@deprecated | @react-native-oh-tpl/react-native-fs | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-fs) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-fs/releases) | -| >= 2.20.1 | @react-native-ohos/react-native-fs | [Gitee](https://gitee.com/openharmony-sig/rntpc_react-native-fs) | [Gitee Releases](https://gitee.com/openharmony-sig/rntpc_react-native-fs/releases) | +| Version | Package Name | Repository | Release | Version for RN | +| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- | ------------------------- | +| <= 2.20.0-0.1.14@deprecated | @react-native-oh-tpl/react-native-fs | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-fs) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-fs/releases) | 0.72 | +| >= 2.20.1 | @react-native-ohos/react-native-fs | [Gitee](https://gitee.com/openharmony-sig/rntpc_react-native-fs) | [Gitee Releases](https://gitee.com/openharmony-sig/rntpc_react-native-fs/releases) | 0.72/0.77 | + + + + ## 1. 安装与使用 @@ -20,12 +24,14 @@ #### npm ```bash +#v2.20.1 npm install @react-native-ohos/react-native-fs ``` #### yarn ```bash +#v2.20.1 yarn add @react-native-ohos/react-native-fs ``` diff --git a/zh-cn/react-native-image-viewing.md b/zh-cn/react-native-image-viewing.md index 65a43cdca0b0d8e5770ceccadc5ac0eb70ea1ded..94d7c4b0ddaf9d8aa7cd93896cfb588dd7d23180 100644 --- a/zh-cn/react-native-image-viewing.md +++ b/zh-cn/react-native-image-viewing.md @@ -17,10 +17,18 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-viewing Releases](https://github.com/react-native-oh-library/react-native-image-viewing/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 0.2.2 |[@react-native-oh-tpl/react-native-image-viewing Releases](https://github.com/react-native-oh-library/react-native-image-viewing/releases) | 0.72 | +| 0.2.2 |[@react-native-oh-tpl/react-native-image-viewing Releases]() | 0.77 | + +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: + + 进入到工程目录并输入以下命令: @@ -28,12 +36,14 @@ #### npm ```bash +#0.2.2 npm install @react-native-oh-tpl/react-native-image-viewing ``` #### yarn ```bash +#0.2.2 yarn add @react-native-oh-tpl/react-native-image-viewing ``` diff --git a/zh-cn/react-native-keyboard-aware-scroll-view.md b/zh-cn/react-native-keyboard-aware-scroll-view.md index 2a9db5b2eaa883a1f2ee333e2ea3c467cd110a95..4e058fd24e00cdff7b191f36c3186e2a7cd2fa17 100644 --- a/zh-cn/react-native-keyboard-aware-scroll-view.md +++ b/zh-cn/react-native-keyboard-aware-scroll-view.md @@ -16,21 +16,30 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-keyboard-aware-scroll-view Releases](https://github.com/react-native-oh-library/react-native-keyboard-aware-scroll-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 0.9.5 | [@react-native-oh-tpl/react-native-keyboard-aware-scroll-view Releases](https://github.com/react-native-oh-library/react-native-keyboard-aware-scroll-view/releases) | 0.72 | +| 0.9.5 | [@react-native-oh-tpl/react-native-keyboard-aware-scroll-view Releases]() | 0.77 | + +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: + #### **npm** ```bash +#v0.9.5 npm install @react-native-oh-tpl/react-native-keyboard-aware-scroll-view ``` #### **yarn** ```bash +#0.9.5 yarn add @react-native-oh-tpl/react-native-keyboard-aware-scroll-view ``` diff --git a/zh-cn/react-native-linear-gradient.md b/zh-cn/react-native-linear-gradient.md index 6da3ab669741f57978124e8c2c7d6adb2441eb50..a8cfcdfc3e52d53ab893c258aec6649824c0bd9f 100644 --- a/zh-cn/react-native-linear-gradient.md +++ b/zh-cn/react-native-linear-gradient.md @@ -8,10 +8,12 @@ 该第三方库的仓库已迁移至 Gitee,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-linear-gradient`,具体版本所属关系如下: -| Version | Package Name | Repository | Release | -| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- | -| <= 3.0.0-0.5.0@deprecated | @react-native-oh-tpl/react-native-linear-gradient | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-linear-gradient) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-linear-gradient/releases) | -| > 3.0.0 | @react-native-ohos/react-native-linear-gradient | [Gitee](https://gitee.com/openharmony-sig/rntpc_react-native-linear-gradient) | [Gitee Releases](https://gitee.com/openharmony-sig/rntpc_react-native-linear-gradient/releases) | +| Version | Package Name | Repository | Release | Version for RN | +| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- | ------------------------- | +|<= 3.0.0-0.5.0@deprecated | @react-native-oh-tpl/react-native-linear-gradient | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-linear-gradient) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-linear-gradient/releases) | 0.72 | +| > 3.0.0 | @react-native-ohos/react-native-linear-gradient | [Gitee](https://gitee.com/openharmony-sig/rntpc_react-native-linear-gradient) | [Gitee Releases](https://gitee.com/openharmony-sig/rntpc_react-native-linear-gradient/releases) | 0.72/0.77 | + + ## 1. 安装与使用 diff --git a/zh-cn/react-native-picker.md b/zh-cn/react-native-picker.md index 31abd4605173a3ee7fb79120ce76cad457348d08..147f9852d955ebe986be678e3792309b31e07f59 100644 --- a/zh-cn/react-native-picker.md +++ b/zh-cn/react-native-picker.md @@ -16,21 +16,33 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-picker Releases](https://github.com/react-native-oh-library/react-native-picker/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 + + +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 3.9.1 | [@react-native-oh-tpl/react-native-picker Releases](https://github.com/react-native-oh-library/react-native-picker/releases) | 0.72 | +| 3.9.1 | [@react-native-oh-tpl/react-native-picker Releases]() | 0.77 | + +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: + + #### **npm** ```bash +#3.9.1 npm install @react-native-oh-tpl/react-native-picker ``` #### **yarn** ```bash +#3.9.1 yarn add @react-native-oh-tpl/react-native-picker ``` diff --git a/zh-cn/react-native-slider.md b/zh-cn/react-native-slider.md index 12495c6bed01a90e170e77b468feb144c653f229..f22a859337893214a02a437bfbdbabbbe028ea33 100644 --- a/zh-cn/react-native-slider.md +++ b/zh-cn/react-native-slider.md @@ -16,7 +16,16 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/jeanregisser-react-native-slider Releases](https://github.com/react-native-oh-library/jeanregisser-react-native-slider/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 0.11.0 |[@react-native-oh-tpl/jeanregisser-react-native-slider Releases](https://github.com/react-native-oh-library/jeanregisser-react-native-slider/releases)| 0.72 | +| 0.11.1 |[@react-native-oh-tpl/jeanregisser-react-native-slider Releases]() | 0.77 | + +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 + + + 进入到工程目录并输入以下命令: @@ -25,13 +34,21 @@ #### **npm** ```bash -npm i @react-native-oh-tpl/react-native-slider +#v0.11.0 +npm i @react-native-oh-tpl/react-native-slider@0.11.0 + +#v0.11.1 +npm i @react-native-oh-tpl/react-native-slider@0.11.1 ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-slider +#v0.11.0 +yarn add @react-native-oh-tpl/react-native-slider@0.11.0 + +#v0.11.1 +yarn add @react-native-oh-tpl/react-native-slider@0.11.1 ```