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

QQ 回调 urlScheme 已改动导致没有触发 deliverCompletionHandler #142

Open
nuomi1 opened this issue Oct 4, 2018 · 3 comments
Open

Comments

@nuomi1
Copy link
Collaborator

nuomi1 commented Oct 4, 2018

MonkeyKing: 1.9.0
QQ: 7.8.2.435


原来的判断是 if urlScheme.hasPrefix("QQ"),但是测试时发现 QQ 返回的是 tencent{appID},内部的逻辑倒是没变。

@nuomi1
Copy link
Collaborator Author

nuomi1 commented Oct 4, 2018

WeChat: 6.7.3


另外在微信中取消分享,微信返回的 info["result"] 仍然是 0,导致走了成功的回调。
不知道是微信抽了还是改了判断规则。

@iblacksun
Copy link
Contributor

@nuomi1 WeChat 是因为微信改了规则,目前 success 已经不可靠了。

@nathanwhy
Copy link

使用纯 swiftUI,需要在 onOpenURL 处理回调,用 @UIApplicationDelegateAdaptor 不行。然后 url 可能需要特殊处理下,不然处理不了直接返回 false。

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

3 participants