Skip to content
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

分享图片没出现有图片 #33

Open
lichao0625 opened this issue May 27, 2021 · 2 comments
Open

分享图片没出现有图片 #33

lichao0625 opened this issue May 27, 2021 · 2 comments

Comments

@lichao0625
Copy link

No description provided.

@droplet-js
Copy link
Collaborator

以及升级 SDK 了,由于手上木有相应项目测试�,只能麻烦你作测试了,记得将测试结果反馈给我,谢谢!

dependencies:
  weibo_kit:
    git:
      url: https://github.com/rxreader/weibo_kit.git

@59050498
Copy link

我用例子里的代码分享图片后,也是不会出现图片。然后我改成这样子的代码后,就可以正常分享图片了。
var response = await Dio().get(titleImage,
options: Options(responseType: ResponseType.bytes));
await Weibo.instance.shareImage(
text: title,
imageData: Uint8List.fromList(response.data),
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants