-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
新版没法分享图片,分享链接的图片也是 #650
Comments
分享的如果是网络图片,下载下来转成 Uint8List,过大就压缩一下;如果是本地图片,就转成 Uint8List,无论哪种方式,请确保thumbData正确。 |
新版本要和native SDK对齐,不再额外对图片进行操作,原因在于很多时候fluwx 的压缩很不理想,而且gif有时候会变成静态图片 |
这个thumbData值该如何传呢? |
4.6.1 修复了使用 thumbnail 的问题,可以继续使用该字段。 |
fluwx: ^4.5.6版本及之前采用的是thumbnail,WeChatImage.network(imageUrl)就能分享链接显示图片,
但是[4.6.0]版本后改成了Uint8List? thumbData,传入Uint8List格式图片后直接报错了checkArgs fail, thumbData is invalid,
看了其它人最近提到的issues都遇到了分享图片直接导致崩溃,应该就是这个问题导致的,请修复,辛苦了
The text was updated successfully, but these errors were encountered: