From e45fd3835cd33932429f891740412f472ac492b0 Mon Sep 17 00:00:00 2001 From: yebin Date: Wed, 28 Jan 2026 17:32:06 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=94=B9react-native-track-pl?= =?UTF-8?q?ayer=E5=BA=93=E7=9A=84=E4=B8=AD=E8=8B=B1=E6=96=87=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yebin --- en/react-native-track-player.md | 15 +++++++++------ zh-cn/react-native-track-player.md | 19 +++++++++++-------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/en/react-native-track-player.md b/en/react-native-track-player.md index 3969ad9f..7bf0dd1d 100644 --- a/en/react-native-track-player.md +++ b/en/react-native-track-player.md @@ -19,10 +19,11 @@ 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 | -| ---------- | ------------------------------------------------------------ | ---------- | +| ---------- | ------------------------------------------------------------ |----------------------| | <= 4.1.2@deprecated | [@react-native-oh-tpl/react-native-track-player Releases(deprecated)](https://github.com/react-native-oh-library/react-native-track-player/releases) | 0.72 | -| 4.1.3 | [@react-native-ohos/react-native-track-player Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-track-player/releases) | 0.72 | -| 4.2.0 | [@react-native-ohos/react-native-track-player Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-track-player/releases) | 0.77 | +| 4.1.3 | [@react-native-ohos/react-native-track-player Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-track-player/releases) | 0.72 | +| 4.2.0 | [@react-native-ohos/react-native-track-player Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-track-player/releases) | 0.77 | +| 4.2.0 | [@react-native-ohos/react-native-track-player Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-track-player/releases) | 0.82 | 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. @@ -134,9 +135,10 @@ This library has been adapted for `Codegen`. Before using it, you need to proact | | is supporte autolink | Supported RN Version | |-------------------------------|-----------------------|----------------------| -| ~4.2.0 | No | 0.77 | -| ~4.1.3 | Yes | 0.72 | -| <= 4.1.2@deprecated | No | 0.72 | +| ~4.2.0 | No | 0.82 | +| ~4.2.0 | No | 0.77 | +| ~4.1.3 | Yes | 0.72 | +| <= 4.1.2@deprecated | No | 0.72 | Using AutoLink need to be configured according to this document, Autolink Framework Guide Documentation: https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md @@ -289,6 +291,7 @@ 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; 2. RNOH: 0.72.33; SDK: HarmonyOS NEXT B1; IDE: DevEco Studio: 5.0.3.900; ROM: Next.0.0.71; 3. RNOH: 0.77.18; SDK: HarmonyOS 6.0.0 Release SDK; IDE: DevEco Studio 6.0.0.858; ROM: 6.0.0.112; +4. RNOH: 0.82.1; SDK: HarmonyOS 6.0.2.129 (API Version 22 Beta1); IDE: DevEco Studio 6.0.2.636; ROM: 6.0.0.125; ### Permission Requirements diff --git a/zh-cn/react-native-track-player.md b/zh-cn/react-native-track-player.md index 36b9532b..b94da680 100644 --- a/zh-cn/react-native-track-player.md +++ b/zh-cn/react-native-track-player.md @@ -21,10 +21,11 @@ 请到三方库的 Releases 发布地址查看配套的版本信息: | 三方库版本 | 发布信息 | 支持RN版本 | -| ---------- | ------------------------------------------------------------ | ---------- | -| <= 4.1.2@deprecated | [@react-native-oh-tpl/react-native-track-player Releases(deprecated)](https://github.com/react-native-oh-library/react-native-track-player/releases) | 0.72 | -| 4.1.3 | [@react-native-ohos/react-native-track-player Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-track-player/releases) | 0.72 | -| 4.2.0 | [@react-native-ohos/react-native-track-player Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-track-player/releases) | 0.77 | +| ---------- | ------------------------------------------------------------ |--------| +| <= 4.1.2@deprecated | [@react-native-oh-tpl/react-native-track-player Releases(deprecated)](https://github.com/react-native-oh-library/react-native-track-player/releases) | 0.72 | +| 4.1.3 | [@react-native-ohos/react-native-track-player Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-track-player/releases) | 0.72 | +| 4.2.0 | [@react-native-ohos/react-native-track-player Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-track-player/releases) | 0.77 | +| 4.2.0 | [@react-native-ohos/react-native-track-player Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-track-player/releases) | 0.82 | 对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 @@ -146,10 +147,11 @@ export default TrackPlayerDemo; ## Link | | 是否支持autolink | RN框架版本 | -|----------------------------------------|-----------------|------------| -| ~4.2.0 | No | 0.77 | -| ~4.1.3 | Yes | 0.72 | -| <= 4.1.2@deprecated | No | 0.72 | +|----------------------------------------|-----------------|--------| +| ~4.2.0 | No | 0.82 | +| ~4.2.0 | No | 0.77 | +| ~4.1.3 | Yes | 0.72 | +| <= 4.1.2@deprecated | No | 0.72 | 使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md @@ -305,6 +307,7 @@ ohpm install 1. RNOH: 0.72.96; SDK: HarmonyOS 6.0.0 Release SDK; IDE: DevEco Studio 6.0.0.858; ROM: 6.0.0.112; 2. RNOH: 0.72.33; SDK: HarmonyOS NEXT B1; IDE: DevEco Studio: 5.0.3.900; ROM: Next.0.0.71; 3. RNOH: 0.77.18; SDK: HarmonyOS 6.0.0 Release SDK; IDE: DevEco Studio 6.0.0.858; ROM: 6.0.0.112; +4. RNOH: 0.82.1; SDK: HarmonyOS 6.0.2.129 (API Version 22 Beta1); IDE: DevEco Studio 6.0.2.636; ROM: 6.0.0.125; ### 权限要求 -- Gitee