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

安卓手机掉起微信分享功能时进入微信请稍后之后闪退回app(跳转) #502

Open
liujinwang223 opened this issue Oct 14, 2022 · 9 comments

Comments

@liujinwang223
Copy link

//设备:一加5t
// 版本:android 10
//真机log如下
D/MicroMsg.SDK.WXMsgImplComm: pass
D/MicroMsg.SDK.WXApiImplV10: wxSdkVersion = 671095893
D/MicroMsg.SDK.WXMsgImplComm: check signature:308202eb30820254a00302010202044d36f7a4300d06092a864886f70d01010505003081b9310b300906035504061302383631123010060355040813094775616e67646f6e673111300f060355040713085368656e7a68656e31353033060355040a132c54656e63656e7420546563686e6f6c6f6779285368656e7a68656e2920436f6d70616e79204c696d69746564313a3038060355040b133154656e63656e74204775616e677a686f7520526573656172636820616e6420446576656c6f706d656e742043656e7465723110300e0603550403130754656e63656e74301e170d3131303131393134333933325a170d3431303131313134333933325a3081b9310b300906035504061302383631123010060355040813094775616e67646f6e673111300f060355040713085368656e7a68656e31353033060355040a132c54656e63656e7420546563686e6f6c6f6779285368656e7a68656e2920436f6d70616e79204c696d69746564313a3038060355040b133154656e63656e74204775616e677a686f7520526573656172636820616e6420446576656c6f706d656e742043656e7465723110300e0603550403130754656e63656e7430819f300d06092a864886f70d010101050003818d0030818902818100c05f34b231b083fb1323670bfbe7bdab40c0c0a6efc87ef2072a1ff0d60cc67c8edb0d0847f210bea6cbfaa241be70c86daf56be08b723c859e52428a064555d80db448cdcacc1aea2501eba06f8bad12a4fa49d85cacd7abeb68945a5cb5e061629b52e3254c373550ee4e40cb7c8ae6f7a8151ccd8df582d446f39ae0c5e930203010001300d06092a864886f70d0101050500038181009c8d9d7f2f908c42081b4c764c377109a8b2c70582422125ce545842d5f520aea69550b6bd8bfd94e987b75a3077eb04ad341f481aac266e89d3864456e69fba13df018acdc168b9a19dfd7ad9d9cc6f6ace57c746515f71234df3a053e33ba93ece5cd0fc15f3e389a3f365588a9fcb439e069d3629cd7732a13fff7b891499
D/MicroMsg.SDK.WXMsgImplComm: pass
I/MicroMsg.SDK.Util: getFileSize with content url
I/MicroMsg.SDK.WXApiImplV10: sendReq, req type = 2
I/MicroMsg.SDK.WXApiImplV10: getTokenFromWX token is wx154f4a47d0b75c63-476709645-6081516049085
D/MicroMsg.SDK.MMessageAct: send, targetPkgName = com.tencent.mm, targetClassName = com.tencent.mm.plugin.base.stub.WXEntryActivity, launchMode = 2
I/MicroMsg.SDK.MMessageAct: sendUsingPendingIntent
D/MicroMsg.SDK.MMessageAct: send mm message, intent=Intent { flg=0x18000000 cmp=com.tencent.mm/.plugin.base.stub.WXEntryActivity (has extras) }
I/MicroMsg.SDK.MMessageAct: sendUsingPendingIntent onSendFinished resultCode: 0, resultData: null
D/ViewRootImpl[MainActivity]: windowFocusChanged hasFocus=false inTouchMode=true
D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@52260ea[MainActivity]
D/ViewRootImpl[MainActivity]: windowFocusChanged hasFocus=true inTouchMode=true
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@3f5b907
I/MicroMsg.SDK.WXApiImplV10: handleIntent, cmd = 2
D/ViewRootImpl[MainActivity]: windowFocusChanged hasFocus=false inTouchMode=true
D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@52260ea[MainActivity]
D/ViewRootImpl[MainActivity]: windowFocusChanged hasFocus=true inTouchMode=true

Which version of Fluwx do you use?
Tell us the version of your current Fluwx.

Which device do you run on
Tell us the device, like BLA-00 and the OS is Android 10.

Which Flutter do you use?

Run flutter doctor and paste the output here.

@liujinwang223
Copy link
Author

Which version of Fluwx do you use?
[3.9.3](fluwx: ^3.9.2)
Which device do you run on
Tell us the device, like OnePlusA5010 and the OS is Android 10.

@JarvanMo
Copy link
Member

日志看不出来什么

@liujinwang223
Copy link
Author

那您那边需要查看什么日志,我这边可以提供

@liujinwang223
Copy link
Author

我调用的时候在 shareToWeChat(model)的log都有打印,进到这个里面就没了 我看AndroidStudio控制台打印出了个D/MicroMsg.SDK.MMessageAct: send mm message, intent=Intent { flg=0x18000000 cmp=com.tencent.mm/.plugin.base.stub.WXEntryActivity (has extras) }
I/MicroMsg.SDK.MMessageAct: sendUsingPendingIntent onSendFinished resultCode: 0, resultData: null
D/ViewRootImpl[MainActivity]: windowFocusChanged hasFocus=false inTouchMode=true
它有一个地方是null,是不是我在使用方式或者哪里调用的方式不太对,麻烦大佬帮忙看一下

@liujinwang223
Copy link
Author

感觉和下面的log中返回的resultData: null有点关系

D/MicroMsg.SDK.MMessageAct: send mm message, intent=Intent { flg=0x18000000 cmp=com.tencent.mm/.plugin.base.stub.WXEntryActivity (has extras) }
I/MicroMsg.SDK.MMessageAct: sendUsingPendingIntent onSendFinished resultCode: 0, resultData: null
D/ViewRootImpl[MainActivity]: windowFocusChanged hasFocus=false inTouchMode=true
------完成log如下-------
I/flutter: ----shareImage
D/MicroMsg.SDK.WXMsgImplComm: check signature:308202eb30820254a00302010202044d36f7a4300d06092a864886f70d01010505003081b9310b300906035504061302383631123010060355040813094775616e67646f6e673111300f060355040713085368656e7a68656e31353033060355040a132c54656e63656e7420546563686e6f6c6f6779285368656e7a68656e2920436f6d70616e79204c696d69746564313a3038060355040b133154656e63656e74204775616e677a686f7520526573656172636820616e6420446576656c6f706d656e742043656e7465723110300e0603550403130754656e63656e74301e170d3131303131393134333933325a170d3431303131313134333933325a3081b9310b300906035504061302383631123010060355040813094775616e67646f6e673111300f060355040713085368656e7a68656e31353033060355040a132c54656e63656e7420546563686e6f6c6f6779285368656e7a68656e2920436f6d70616e79204c696d69746564313a3038060355040b133154656e63656e74204775616e677a686f7520526573656172636820616e6420446576656c6f706d656e742043656e7465723110300e0603550403130754656e63656e7430819f300d06092a864886f70d010101050003818d0030818902818100c05f34b231b083fb1323670bfbe7bdab40c0c0a6efc87ef2072a1ff0d60cc67c8edb0d0847f210bea6cbfaa241be70c86daf56be08b723c859e52428a064555d80db448cdcacc1aea2501eba06f8bad12a4fa49d85cacd7abeb68945a5cb5e061629b52e3254c373550ee4e40cb7c8ae6f7a8151ccd8df582d446f39ae0c5e930203010001300d06092a864886f70d0101050500038181009c8d9d7f2f908c42081b4c764c377109a8b2c70582422125ce545842d5f520aea69550b6bd8bfd94e987b75a3077eb04ad341f481aac266e89d3864456e69fba13df018acdc168b9a19dfd7ad9d9cc6f6ace57c746515f71234df3a053e33ba93ece5cd0fc15f3e389a3f365588a9fcb439e069d3629cd7732a13fff7b891499
D/MicroMsg.SDK.WXMsgImplComm: pass
W/om.szhtjykj.yk: Reducing the number of considered missed Gc histogram windows from 921 to 100
D/MicroMsg.SDK.WXApiImplV10: wxSdkVersion = 671095893
D/MicroMsg.SDK.WXMsgImplComm: check signature:308202eb30820254a00302010202044d36f7a4300d06092a864886f70d01010505003081b9310b300906035504061302383631123010060355040813094775616e67646f6e673111300f060355040713085368656e7a68656e31353033060355040a132c54656e63656e7420546563686e6f6c6f6779285368656e7a68656e2920436f6d70616e79204c696d69746564313a3038060355040b133154656e63656e74204775616e677a686f7520526573656172636820616e6420446576656c6f706d656e742043656e7465723110300e0603550403130754656e63656e74301e170d3131303131393134333933325a170d3431303131313134333933325a3081b9310b300906035504061302383631123010060355040813094775616e67646f6e673111300f060355040713085368656e7a68656e31353033060355040a132c54656e63656e7420546563686e6f6c6f6779285368656e7a68656e2920436f6d70616e79204c696d69746564313a3038060355040b133154656e63656e74204775616e677a686f7520526573656172636820616e6420446576656c6f706d656e742043656e7465723110300e0603550403130754656e63656e7430819f300d06092a864886f70d010101050003818d0030818902818100c05f34b231b083fb1323670bfbe7bdab40c0c0a6efc87ef2072a1ff0d60cc67c8edb0d0847f210bea6cbfaa241be70c86daf56be08b723c859e52428a064555d80db448cdcacc1aea2501eba06f8bad12a4fa49d85cacd7abeb68945a5cb5e061629b52e3254c373550ee4e40cb7c8ae6f7a8151ccd8df582d446f39ae0c5e930203010001300d06092a864886f70d0101050500038181009c8d9d7f2f908c42081b4c764c377109a8b2c70582422125ce545842d5f520aea69550b6bd8bfd94e987b75a3077eb04ad341f481aac266e89d3864456e69fba13df018acdc168b9a19dfd7ad9d9cc6f6ace57c746515f71234df3a053e33ba93ece5cd0fc15f3e389a3f365588a9fcb439e069d3629cd7732a13fff7b891499
D/MicroMsg.SDK.WXMsgImplComm: pass
I/MicroMsg.SDK.Util: getFileSize with content url
I/MicroMsg.SDK.WXApiImplV10: sendReq, req type = 2
I/MicroMsg.SDK.WXApiImplV10: getTokenFromWX token is wx154f4a47d0b75c63-476709645-132833468618233
D/MicroMsg.SDK.MMessageAct: send, targetPkgName = com.tencent.mm, targetClassName = com.tencent.mm.plugin.base.stub.WXEntryActivity, launchMode = 2
I/MicroMsg.SDK.MMessageAct: sendUsingPendingIntent
D/MicroMsg.SDK.MMessageAct: send mm message, intent=Intent { flg=0x18000000 cmp=com.tencent.mm/.plugin.base.stub.WXEntryActivity (has extras) }
I/MicroMsg.SDK.MMessageAct: sendUsingPendingIntent onSendFinished resultCode: 0, resultData: null
D/ViewRootImpl[MainActivity]: windowFocusChanged hasFocus=false inTouchMode=true
D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@482d5dc[MainActivity]
D/ViewRootImpl[MainActivity]: windowFocusChanged hasFocus=true inTouchMode=true
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@153784c
D/ViewRootImpl[MainActivity]: windowFocusChanged hasFocus=false inTouchMode=true
I/MicroMsg.SDK.WXApiImplV10: handleIntent, cmd = 2
D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@482d5dc[MainActivity]
D/ViewRootImpl[MainActivity]: windowFocusChanged hasFocus=true inTouchMode=true

@Adrift001
Copy link

兄弟, 问题解决了吗?

@jobn123
Copy link
Contributor

jobn123 commented Jun 1, 2023

兄弟, 问题解决了吗?
你好,你解决没 这个问题

@wangjunyanSV
Copy link

这个问题有解决吗

@Adrift001
Copy link

@wangjunyanSV 没有

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

5 participants