fast_share icon indicating copy to clipboard operation
fast_share copied to clipboard

从系统分享页面的文件,会丢失文件拓展名

Open Timelesseternity opened this issue 1 year ago • 0 comments

  • [x] 我已经阅读过 FAQ.
  • [x] 我查找了现有的问题列表 issues.

环境

  • 系统: [ Harmony 3.0]
  • 速享版本: [2.2.5]

描述这个问题

从系统分享页面的文件,会丢失文件拓展名。不如我分享了一个apk,在其他设备下载了该文件,还需要更改名称为.apk ,才能继续安装

[07:21:31] [I/] history cache {
[07:21:31] [I/]   "datas": [
[07:21:31] [I/]     {
[07:21:31] [I/]       "id": "f3957",
[07:21:31] [I/]       "url": "http://192.168.43.141:12000",
[07:21:31] [I/]       "device_name": "Xiaomi 12 Pro Dimensity"
[07:21:31] [I/]     }
[07:21:31] [I/]   ]
[07:21:31] [I/] }
[07:21:31] [V/GlobalInstance] initGlobal
[07:21:31] [I/] 消息服务器端口 : 12000
[07:21:31] [V/GlobalInstance] deviceId -> SCMR-W09
[07:21:31] [V/GlobalInstance] uniqueKey -> 7b3ca
[07:21:31] [I/] request -> {
[07:21:31] [I/]   "arch": "arm64-v8a",
[07:21:31] [I/]   "os": "Android 12",
[07:21:31] [I/]   "model": "SCMR-W09",
[07:21:31] [I/]   "app": "Speed Share",
[07:21:31] [I/]   "time": "2023-07-11",
[07:21:31] [I/]   "platform": "Android",
[07:21:31] [I/]   "unique_key": "7b3ca",
[07:21:31] [I/]   "app_version": "2.2.5"
[07:21:31] [I/] }
[07:21:31] [I/] sendJoinEvent : http://192.168.43.141:12000
[07:21:31] [I/] shelf will server with 13000 port
[07:21:33] [E/] 页面构建异常 : Unable to load asset: "packages/speed_share_extension/assets/avatar.svg".
[07:21:35] [E/] http://192.168.43.141:12000 发送加入消息异常,但不一定会影响使用
[07:21:35] [E/] 详情:http request exception [599]: SocketException: No route to host (OS Error: No route to host, errno = 113), address = 192.168.43.141, port = 35534 null

视频如下

https://github.com/nightmare-space/speed_share/assets/108171881/172b19e1-df5c-4ac9-aab3-c0f6b213dd58

Timelesseternity avatar Jul 10 '23 23:07 Timelesseternity