fluwx icon indicating copy to clipboard operation
fluwx copied to clipboard

demo 无法传大图分享

Open godgege opened this issue 7 years ago • 10 comments

String _imagePath = "https://panda-test-img.oss-cn-shanghai.aliyuncs.com/share_invite_code/share_invite_code_1559251765957.png";

会报 send mm message, intent=Intent { flg=0x18000000 cmp=com.tencent.mm/.plugin.base.stub.WXEntryActivity (has extras) }

demo自己也会报ignore wechat app signature validation 请跑一下验证一下, 谢谢,不知道哪里出问题了

godgege avatar May 30 '19 23:05 godgege

微信SDK的确对分享图片的大小有限制。但你这个图片没有超出限制。ignore wechat app signature validation 这个问题有问过了,翻issue吧。

JarvanMo avatar May 31 '19 01:05 JarvanMo

ignore wechat app signature validation 是app签名验证出了问题。

JarvanMo avatar May 31 '19 01:05 JarvanMo

image 分享大图,失败;分享小图,成功。

TigerLau avatar Jul 03 '19 02:07 TigerLau

@TigerLau 分享的图片需要你自己去压缩

JarvanMo avatar Jul 03 '19 02:07 JarvanMo

微信的分享API中,关于图片分享大小限制为10M;但是,我操作分享的图片资源,也就600K~700K。

TigerLau avatar Jul 03 '19 02:07 TigerLau

@TigerLau @ismanong 我知道怎么回事了。我稍后修复。

JarvanMo avatar Jul 03 '19 05:07 JarvanMo

@TigerLau @ismanong 我升级了一下,现在可以分享超过512K的图片了,其中的注意事项请参阅readme。

JarvanMo avatar Jul 03 '19 06:07 JarvanMo

谢谢

godgege avatar Jul 04 '19 18:07 godgege

Nick work! @JarvanMo

TigerLau avatar Jul 09 '19 09:07 TigerLau

flutter_image_compress 用这个

solody avatar Apr 02 '25 09:04 solody