From 023bd3a931f0b4f8e04fcbc4cfae1999ea2e626a Mon Sep 17 00:00:00 2001 From: wang-yuanbai <603970629@qq.com> Date: Fri, 5 Jan 2024 15:56:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[Issues:=20#I8GWQZ]=20=E4=BF=AE=E6=94=B9cam?= =?UTF-8?q?eraroll=E6=96=87=E6=A1=A3=E4=B8=AD=E7=9A=84=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/react-native-cameraroll.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/zh-cn/react-native-cameraroll.md b/zh-cn/react-native-cameraroll.md index f70f4629..71e5f30c 100644 --- a/zh-cn/react-native-cameraroll.md +++ b/zh-cn/react-native-cameraroll.md @@ -104,7 +104,7 @@ export default function App() { ```json "dependencies": { "rnoh": "file:../rnoh", - "rnoh-camera-roll": "file:../../node_modules/@react-native-tpl-oh/camera-roll/harmony/camera_roll.har" + "rnoh-camera-roll": "file:../../node_modules/@react-native-oh-tpl/camera-roll/harmony/camera_roll.har" } ``` @@ -123,7 +123,7 @@ ohpm install ```json "dependencies": { "rnoh": "file:../rnoh", - "rnoh-camera-roll": "file:../../node_modules/@react-native-tpl-oh/camera-roll/harmony/camera_roll" + "rnoh-camera-roll": "file:../../node_modules/@react-native-oh-tpl/camera-roll/harmony/camera_roll" } ``` @@ -254,8 +254,8 @@ ohpm install | getPhotos | 查找图片/视频 | function | no | android,ios | partially | | getAlbums | 查找相册 | function | no | android,ios | partially | | deletePhotos | 删除图片/视频 | function | no | android,ios | no | -| iosGetImageDataById | 获取图片数据 | function | no | ios | no | -| getPhotoThumbnail | 获取缩略图 | function | no | ios | no | +| iosGetImageDataById | 获取图片数据 | function | no | ios | partially | +| getPhotoThumbnail | 获取缩略图 | function | no | ios | partially | @@ -271,9 +271,9 @@ ohpm install | `iosRequestReadWriteGalleryPermission` | 读写权限申请 | function | no | ios | no | | `iosRequestAddOnlyGalleryPermission` | 添加权限申请 | function | no | ios | no | | `iosRefreshGallerySelection` | 图片列表刷新 | function | no | ios | no | -| `harmonyReadGalleryPermission` | 对比`iosReadGalleryPermission` | function | no | harmony | no | -| `harmonyRequestReadWriteGalleryPermission` | 对比`iosRequestReadWriteGalleryPermission` | function | no | harmony | partially | -| `harmonyRequestAddOnlyGalleryPermission` | 对比`iosRequestAddOnlyGalleryPermission` | function | no | harmony | partially | +| `harmonyReadGalleryPermission` | 对比`iosReadGalleryPermission` | function | no | harmony | yes | +| `harmonyRequestReadWriteGalleryPermission` | 对比`iosRequestReadWriteGalleryPermission` | function | no | harmony | yes | +| `harmonyRequestAddOnlyGalleryPermission` | 对比`iosRequestAddOnlyGalleryPermission` | function | no | harmony | yes | | `harmonyRefreshGallerySelection` | 对比`iosRefreshGallerySelection` | function | no | harmony | no | @@ -283,8 +283,6 @@ ohpm install - [ ] harmony 查找图片/视频部分查询条件和返回字段需要使用系统接口 - [ ] harmony 纯图片相册暂未对外开放,系统相册不返回相册名 - [ ] harmony 删除图片/视频需要使用系统接口 -- [ ] harmony 权限验证需要应用tokenID,获取tokenID需要使用系统接口 -- [ ] harmony 权限申请需要先验证权限,当前跳过验证,直接申请 - [ ] harmony 暂无对标ios图片列表刷新的方法 ## 其他 -- Gitee From 7a71baaf3a0a9b0aba9b195a9dbf72b175419b89 Mon Sep 17 00:00:00 2001 From: wang-yuanbai <603970629@qq.com> Date: Fri, 5 Jan 2024 16:18:20 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[Issues:=20#I8GWRC]=20=E6=A0=B9=E6=8D=AEPR?= =?UTF-8?q?=E5=BB=BA=E8=AE=AE=E4=BF=AE=E6=94=B9=E4=BD=BF=E7=94=A8=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/react-navigation-bottom-tabs.md | 7 ++++++- zh-cn/react-navigation-native.md | 7 ++++++- zh-cn/react-navigation-stack.md | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/zh-cn/react-navigation-bottom-tabs.md b/zh-cn/react-navigation-bottom-tabs.md index 2cde916d..912a9ce3 100644 --- a/zh-cn/react-navigation-bottom-tabs.md +++ b/zh-cn/react-navigation-bottom-tabs.md @@ -32,7 +32,12 @@ npm install @react-navigation/bottom-tabs@6.5.11 ## 兼容性 -要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 +在下述版本验证通过: + + DevEco Studio: 4.1.3.313 + OH SDK: 4.1.0.52 (API11) + ROM: 2.0.0.52(SP22C00E52R1P17log) + RNOH: 0.72.11 ## 方法 diff --git a/zh-cn/react-navigation-native.md b/zh-cn/react-navigation-native.md index 0498c615..d8a0dede 100644 --- a/zh-cn/react-navigation-native.md +++ b/zh-cn/react-navigation-native.md @@ -32,7 +32,12 @@ npm install @react-navigation/native@6.1.9 ## 兼容性 -要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 +在下述版本验证通过: + + DevEco Studio: 4.1.3.313 + OH SDK: 4.1.0.52 (API11) + ROM: 2.0.0.52(SP22C00E52R1P17log) + RNOH: 0.72.11 ## 属性 diff --git a/zh-cn/react-navigation-stack.md b/zh-cn/react-navigation-stack.md index 4d3ae390..6562c2b0 100644 --- a/zh-cn/react-navigation-stack.md +++ b/zh-cn/react-navigation-stack.md @@ -31,7 +31,12 @@ npm install @react-navigation/stack@6.3.19 ## 兼容性 -要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 +在下述版本验证通过: + + DevEco Studio: 4.1.3.313 + OH SDK: 4.1.0.52 (API11) + ROM: 2.0.0.52(SP22C00E52R1P17log) + RNOH: 0.72.11 ## 方法 -- Gitee