Version
saver_gallery: ^4.0.1
Platforms
dart
Device Model
Ohos OpenHarmony-5.0.5.160 (API 17)
flutter info
[!] Flutter (Channel [user-branch], 3.22.1-ohos-0.1.2, on Microsoft Windows [版本 10.0.19045.5737], locale zh-CN)
! Flutter version 3.22.1-ohos-0.1.2 on channel [user-branch] at D:\flutter\flutter
Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at
https://flutter.dev/docs/get-started/install.
! Upstream repository https://gitcode.com/openharmony-sig/flutter_flutter.git is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to https://gitcode.com/openharmony-sig/flutter_flutter.git to dismiss
this error.
• Framework revision 05ecc17acd (2 weeks ago), 2025-05-05 15:05:20 +0800
• Engine revision f6344b75dc
• Dart version 3.4.0
• DevTools version 2.34.1
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly
to perform update checks and upgrades.
[√] HarmonyOS toolchain - develop for HarmonyOS devices
• OpenHarmony Sdk at D:\Program Files\Huawei\DevEco Studio\sdk, available api versions has [17:default]
• Ohpm version 5.0.16
• Node version v18.20.1
• Hvigorw binary at D:\Program Files\Huawei\DevEco Studio\tools\hvigor\bin\hvigorw
Connected device (4 available)
• 127.0.0.1:5555 (mobile) • 127.0.0.1:5555 • ohos-x64 • Ohos OpenHarmony-5.0.5.160 (API 17)
How to reproduce?
In the HarmonyOS simulator, use SaverGallery.saveFile to save images with names containing multiple dots.
Logs
Thread:140229090454656 [INFO:flutter/shell/platform/ohos/napi/platform_view_ohos_napi.cpp(286)] FlutterViewHandlePlatformMessage message channal saver_gal
Thread:140229090454656 [INFO:flutter/shell/platform/ohos/napi/platform_view_ohos_napi.cpp(317)] FlutterViewHandlePlatformMessage mapData=
FlutterNapi --> called handlePlatformMessage Channel: saver_gallery. Response ID: 74
DartMessenger --> Received message from Dart over channel 'saver_gallery'
DartMessenger --> Deferring to registered handler to process message.
ImageGallerySaverPlugin --> photoType is null
Thread:140229090454656 [INFO:flutter/shell/platform/ohos/napi/platform_view_ohos_napi.cpp(201)] nativeInvokePlatformMessageResponseCallback
Thread:140229090454656 [INFO:flutter/shell/platform/ohos/napi/platform_view_ohos_napi.cpp(241)] InvokePlatformMessageResponseCallback
Example code (optional)
SaverGallery.saveFile(filePath:"/data/storage/el2/base/cache/example/Download/Cache/image/apple.P10729-155410.jpg",fileName:"apple.P10729-155410.jpg");
Contact
No response
Version
saver_gallery: ^4.0.1
Platforms
dart
Device Model
Ohos OpenHarmony-5.0.5.160 (API 17)
flutter info
How to reproduce?
In the HarmonyOS simulator, use SaverGallery.saveFile to save images with names containing multiple dots.
Logs
Example code (optional)
Contact
No response