fluwx icon indicating copy to clipboard operation
fluwx copied to clipboard

微信分享时,app经历了两次进入后台和两次进入前台

Open Zhaimm opened this issue 5 years ago • 14 comments

当我执行分享到微信时,我的app,1进入后台,2进入前台,3进入后台;等我微信回来有经历了4进入前台。当我监听app进入前台去执行一些事情(比如:弹框),就会造成执行两次问题(例如:弹框两次)。 WeChatf6ce8c5aed2f79ffc15271624f860b3b

Zhaimm avatar Apr 09 '20 08:04 Zhaimm

这不是fluwx的问题吧 ------------------ 原始邮件 ------------------ 发件人: "Zhaimm"[email protected] 发送时间: 2020年4月9日(星期四) 下午4:00 收件人: "OpenFlutter/fluwx"[email protected]; 抄送: "Subscribed"[email protected]; 主题: [OpenFlutter/fluwx] 微信分享时,app经历了两次进入后台和两次进入前台 (#213)

当我执行分享到微信时,我的app,1进入后台,2进入前台,3进入后台;等我微信回来有经历了4进入前台。当我监听app进入前台去执行一些事情(比如:弹框),就会造成执行两次问题(例如:弹框两次)。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

JarvanMo avatar Apr 09 '20 08:04 JarvanMo

我使用fluwx.openWeChatApp()这个方法就不会出现问题

Zhaimm avatar Apr 09 '20 08:04 Zhaimm

这是一回事吗。。。------------------ 原始邮件 ------------------ 发件人: "Zhaimm"[email protected] 发送时间: 2020年4月9日(星期四) 下午4:17 收件人: "OpenFlutter/fluwx"[email protected]; 抄送: "JarvanMo"[email protected];"Comment"[email protected]; 主题: Re: [OpenFlutter/fluwx] 微信分享时,app经历了两次进入后台和两次进入前台 (#213)

我使用fluwx.openWeChatApp()这个方法就不会出现问题

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

JarvanMo avatar Apr 09 '20 08:04 JarvanMo

我不知道是怎么回事,所以来请求帮助的。thanks

Zhaimm avatar Apr 09 '20 08:04 Zhaimm

你看看你的状态管理是怎么去管理的,可能是在这块在循环执行

zhuliang007 avatar Jun 23 '20 10:06 zhuliang007

这是你 applinks/universalLink 没有设置好的问题。

fangmd avatar Aug 04 '20 11:08 fangmd

我也出现了同样问题 解决了吗

MrQiu920702 avatar Aug 14 '20 12:08 MrQiu920702

这是你 applinks/universalLink 没有设置好的问题。 指导一下 大神

MrQiu920702 avatar Aug 14 '20 12:08 MrQiu920702

当我执行分享到微信时,我的app,1进入后台,2进入前台,3进入后台;等我微信回来有经历了4进入前台。当我监听app进入前台去执行一些事情(比如:弹框),就会造成执行两次问题(例如:弹框两次)。 WeChatf6ce8c5aed2f79ffc15271624f860b3b

楼主解决了吗/》???

MrQiu920702 avatar Aug 14 '20 12:08 MrQiu920702

遇到了同样的问题,ios设备跳转微信时会返回app两次,android不会,像是框架的bug

zhuyongbo100 avatar Aug 25 '20 07:08 zhuyongbo100

iOS需要配置universal link才行 之前做rn的时候也遇到过 配置universal link,服务器上传apple-app-site-association就可以了

Zuozihao avatar Sep 03 '20 03:09 Zuozihao

thanks

------------------ 原始邮件 ------------------ 发件人: "Zuozihao"<[email protected]>; 发送时间: 2020年9月3日(星期四) 中午11:16 收件人: "OpenFlutter/fluwx"<[email protected]>; 抄送: "迈步丶出唐突"<[email protected]>; "Author"<[email protected]>; 主题: Re: [OpenFlutter/fluwx] 微信分享时,app经历了两次进入后台和两次进入前台 (#213)

iOS需要配置universal link才行 之前做rn的时候也遇到过 配置universal link,服务器上传apple-app-site-association就可以了

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Zhaimm avatar Sep 04 '20 08:09 Zhaimm

请问这个问题解决了嘛?

ixugo avatar Jan 19 '21 03:01 ixugo

配置完后别忘了这个https://upload-images.jianshu.io/upload_images/22959119-5663e98a0460514f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240 简书地址

Witcher-jufei avatar Jul 19 '21 10:07 Witcher-jufei