Skip to content

安卓分享图片的共享路径问题 #50

Description

@baishitong

微博分享图片目前是不能传本地图片地址的,除非你在主工程配置ProviderPath,即使如此也可能是找不到的。
目前imageUri:需要的是网络图片下载到本地的地址,而不是网络图片url,因此建议不使用imageUri,只使用imageData。
await wbkit.Weibo.instance.shareImage(
text: '${info.title}。${info.brief}',
imageData: await getNetworkImageData(info.url),
imageUri: Uri.parse(info.href),
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions