已合并
docs:modify the README to add descriptions related to 0.86 rnoh #102
docs:modify the README to add descriptions related to 0.86 rnoh #102
已合并
liangtao创建于 16 天前
共 2 个文件变更+8-6
@@ -10,7 +10,7 @@
10 10 
11| 三方库名称 | 三方库版本(npm地址) | 发布信息 | 支持RN版本 | Autolink | 编译API版本 | 社区基线版本 | 源码地址 |11| 三方库名称 | 三方库版本(npm地址) | 发布信息 | 支持RN版本 | Autolink | 编译API版本 | 社区基线版本 | 源码地址 |
12| ------------ | ------------ | ------------------------------ | ------------- |----------|------------------------ | ------------- | ------------- | 12| ------------ | ------------ | ------------------------------ | ------------- |----------|------------------------ | ------------- | ------------- |
13-| @react-native-ohos/react-native-device-info | [~ 14.2.0(开发中)](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.82.* / 0.84.* | 是 | API12+ | 15.0.2 | [master](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/master) |13+| @react-native-ohos/react-native-device-info | [~ 14.2.0](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.82.* / 0.84.* / 0.86.* | 是 | API12+ | 15.0.2 | [master](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/master) |
14| @react-native-ohos/react-native-device-info | [ 14.1.2](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.82.* | 是 | API12+ | 14.1.1 | [br_rnoh0.82](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/br_rnoh0.82) |14| @react-native-ohos/react-native-device-info | [ 14.1.2](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.82.* | 是 | API12+ | 14.1.1 | [br_rnoh0.82](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/br_rnoh0.82) |
15| @react-native-ohos/react-native-device-info | [~ 14.0.5](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.77.* | 否 | API12+ | 14.0.4 | [br_rnoh0.77](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/br_rnoh0.77) |15| @react-native-ohos/react-native-device-info | [~ 14.0.5](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.77.* | 否 | API12+ | 14.0.4 | [br_rnoh0.77](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/br_rnoh0.77) |
16| @react-native-ohos/react-native-device-info | [~ 11.1.1](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.72.* | 是 | API12+ | 11.1.0 | [br_rnoh0.72](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/br_rnoh0.72) |16| @react-native-ohos/react-native-device-info | [~ 11.1.1](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.72.* | 是 | API12+ | 11.1.0 | [br_rnoh0.72](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/br_rnoh0.72) |
@@ -41,7 +41,7 @@ yarn add @react-native-ohos/react-native-device-info
41 41 
42| | 是否支持autolink | RN框架版本 |42| | 是否支持autolink | RN框架版本 |
43|--------------------------------------|----------------|-----------|43|--------------------------------------|----------------|-----------|
44-| ~14.2.0 | Yes | 0.82/0.84 |44+| ~14.2.0 | Yes | 0.82/0.84/0.86 |
45| 14.1.2 | Yes | 0.82 |45| 14.1.2 | Yes | 0.82 |
46 46 
47使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/CPF-RN/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md47使用AutoLink的工程需要根据该文档配置,Autolink框架指导文档:https://gitcode.com/CPF-RN/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
@@ -61,7 +61,7 @@ yarn add @react-native-ohos/react-native-device-info
61```json61```json
62{62{
63 "overrides": {63 "overrides": {
64- "@rnoh/react-native-openharmony": "^0.82.25" // ohpm 在线版本64+ "@rnoh/react-native-openharmony": "~0.86.1" // ohpm 在线版本
65 // "@rnoh/react-native-openharmony" : "./react_native_openharmony.har" // 指向本地 har 包的路径65 // "@rnoh/react-native-openharmony" : "./react_native_openharmony.har" // 指向本地 har 包的路径
66 // "@rnoh/react-native-openharmony" : "./react_native_openharmony" // 指向源码路径66 // "@rnoh/react-native-openharmony" : "./react_native_openharmony" // 指向源码路径
67 }67 }
@@ -194,6 +194,7 @@ ohpm install
194 194 
1951. RNOH: 0.82.25; SDK: HarmonyOS 6.0.1 Release SDK; IDE: DevEco Studio 6.0.1 Release; ROM:6.0.0.120 SP7;1951. RNOH: 0.82.25; SDK: HarmonyOS 6.0.1 Release SDK; IDE: DevEco Studio 6.0.1 Release; ROM:6.0.0.120 SP7;
1962. RNOH: 0.84.30; SDK: HarmonyOS 6.0.1 Release SDK; IDE: DevEco Studio 6.0.1 Release; ROM:6.0.0.120 SP7;1962. RNOH: 0.84.30; SDK: HarmonyOS 6.0.1 Release SDK; IDE: DevEco Studio 6.0.1 Release; ROM:6.0.0.120 SP7;
197+3. RNOH: 0.86.1; SDK: HarmonyOS 6.0.1 Release SDK; IDE: DevEco Studio 6.0.1 Release; ROM:6.0.0.120 SP7;
197 198 
198### 权限要求199### 权限要求
199 200 
@@ -10,7 +10,7 @@ This third-party library has been migrated to Gitcode and is now available for d
10 10 
11| Name | Version(Npm Address) | Release Information | Supported RN Version | Supported Autolink | Compile API Version | Community Baseline Version | Source code address |11| Name | Version(Npm Address) | Release Information | Supported RN Version | Supported Autolink | Compile API Version | Community Baseline Version | Source code address |
12| --------------| -------------- | ------------------------------ | ------------- |--------------------|------------------------ | ------------ | ------------- | 12| --------------| -------------- | ------------------------------ | ------------- |--------------------|------------------------ | ------------ | ------------- |
13-| @react-native-ohos/react-native-device-info | [~ 14.2.0 (In development)](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.82.* / 0.84.* | Yes | API12+ | 15.0.2 | [master](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/master) |13+| @react-native-ohos/react-native-device-info | [~ 14.2.0](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.82.* / 0.84.* / 0.86.* | Yes | API12+ | 15.0.2 | [master](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/master) |
14| @react-native-ohos/react-native-device-info | [ 14.1.2](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.82.* | Yes | API12+ | 14.1.1 | [br_rnoh0.82](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/br_rnoh0.82) |14| @react-native-ohos/react-native-device-info | [ 14.1.2](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.82.* | Yes | API12+ | 14.1.1 | [br_rnoh0.82](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/br_rnoh0.82) |
15| @react-native-ohos/react-native-device-info | [~ 14.0.5](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.77.* | No | API12+ | 14.0.4 | [br_rnoh0.77](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/br_rnoh0.77) |15| @react-native-ohos/react-native-device-info | [~ 14.0.5](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.77.* | No | API12+ | 14.0.4 | [br_rnoh0.77](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/br_rnoh0.77) |
16| @react-native-ohos/react-native-device-info | [~ 11.1.1](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.72.* | Yes | API12+ | 11.1.0 | [br_rnoh0.72](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/br_rnoh0.72) |16| @react-native-ohos/react-native-device-info | [~ 11.1.1](https://www.npmjs.com/package/@react-native-ohos/react-native-device-info) | [Gitcode Releases](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/releases) | 0.72.* | Yes | API12+ | 11.1.0 | [br_rnoh0.72](https://gitcode.com/CPF-RN/rntpc_react-native-device-info/tree/br_rnoh0.72) |
@@ -40,7 +40,7 @@ yarn add @react-native-ohos/react-native-device-info
40 40 
41| | Supported Autolink | Supported RN Version |41| | Supported Autolink | Supported RN Version |
42|--------------------------------------|--------------------|----------------------|42|--------------------------------------|--------------------|----------------------|
43-| ~14.2.0 | Yes | 0.82/0.84 |43+| ~14.2.0 | Yes | 0.82/0.84/0.86 |
44| 14.1.2 | Yes | 0.82 |44| 14.1.2 | Yes | 0.82 |
45 45 
46Projects using AutoLink need to be configured according to this document, AutoLink framework guide: https://gitcode.com/CPF-RN/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md46Projects using AutoLink need to be configured according to this document, AutoLink framework guide: https://gitcode.com/CPF-RN/ohos_react_native/blob/master/docs/zh-cn/Autolinking.md
@@ -61,7 +61,7 @@ For more information about the purpose of this field, please refer to the [offic
61```json61```json
62{62{
63 "overrides": {63 "overrides": {
64- "@rnoh/react-native-openharmony": "^0.82.25" // ohpm version64+ "@rnoh/react-native-openharmony": "~0.86.1" // ohpm version
65 // "@rnoh/react-native-openharmony" : "./react_native_openharmony.har" // a locally available HAR package65 // "@rnoh/react-native-openharmony" : "./react_native_openharmony.har" // a locally available HAR package
66 // "@rnoh/react-native-openharmony" : "./react_native_openharmony" // source code directory66 // "@rnoh/react-native-openharmony" : "./react_native_openharmony" // source code directory
67 }67 }
@@ -195,6 +195,7 @@ This document is verified based on the following versions:
195 195 
1961. RNOH: 0.82.25; SDK: HarmonyOS 6.0.1 Release SDK; IDE: DevEco Studio 6.0.1 Release; ROM:6.0.0.120 SP7;1961. RNOH: 0.82.25; SDK: HarmonyOS 6.0.1 Release SDK; IDE: DevEco Studio 6.0.1 Release; ROM:6.0.0.120 SP7;
1972. RNOH: 0.84.30; SDK: HarmonyOS 6.0.1 Release SDK; IDE: DevEco Studio 6.0.1 Release; ROM:6.0.0.120 SP7;1972. RNOH: 0.84.30; SDK: HarmonyOS 6.0.1 Release SDK; IDE: DevEco Studio 6.0.1 Release; ROM:6.0.0.120 SP7;
198+3. RNOH: 0.86.1; SDK: HarmonyOS 6.0.1 Release SDK; IDE: DevEco Studio 6.0.1 Release; ROM:6.0.0.120 SP7;
198 199 
199### Permission Requirements200### Permission Requirements
200 201