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

分享时调起微信后,回到自己的应用,查看后台,有两个相同的应用 #41

Open
hlgcgrass opened this issue Apr 19, 2019 · 5 comments

Comments

@hlgcgrass
Copy link

回到应用后后台存在两个,而且有一个是无法打开的,这是什么原因呢

@hlgcgrass
Copy link
Author

感谢你及时回复我的问题,但比较抽象……可以再详细点吗

@hlgcgrass
Copy link
Author

另外我单独引进您的分享module,在new ShareListener的时候,以及调用ShareUtil.shareMedia这些方法的时候,报错无法访问IUiListener,找不到com.tencent.tauth.IUiListener的类文件,但是之前直接implementation您的项目的时候就可以,这个要怎么破

@hlgcgrass
Copy link
Author

作者你好,已查明是_ShareActivity里面的 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);的问题,新开了一个栈,从而导致后台出现两个应用,同时把Manifest里面的_ShareActivity的launchMode去掉就可以了,好一番苦找啊!

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

2 participants
@hlgcgrass and others