Android分享微信,设置了缩略图,但分享面板的缩略图显示APP Logo
XX********id
发布于 4 年前
2421来自广东省社会化分享 U-Share
API调用
//Android分享微信,设置了缩略图,但分享面板的缩略图显示APP Logo, 为什么设置的缩略图不生效
UMImage img = new UMImage(context, shareImgBytes);
UMImage thumb= new UMImage(context, shareImgBytes);
UMImage image= new UMImage(context, shareImgBytes);
image.compressStyle = UMImage.CompressStyle.SCALE;
image.setThumb(thumb);
ShareAction shareAction = new ShareAction(context)
.withMedia(image)
.setPlatform(convertToUmengBean(SHARE_MEDIA.WEIXIN))
.setCallback(mShareListener);