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

部分没有下载到 AASA 文件的设备无法打开 Universal Link #185

Closed
lexrus opened this issue Dec 1, 2020 · 0 comments · Fixed by #186
Closed

部分没有下载到 AASA 文件的设备无法打开 Universal Link #185

lexrus opened this issue Dec 1, 2020 · 0 comments · Fixed by #186
Assignees

Comments

@lexrus
Copy link
Collaborator

lexrus commented Dec 1, 2020

https://openradar.appspot.com/4999496467480576

由于这个系统 bug 的存在,部分没有更新到 AASA 文件的设备,在调用 UIApplication.shared.canOpenURL 后得到 true,但用 open 打开时,无法唤起相应 app。

Screen Shot 2020-12-01 at 2 11 04 PM

上面这个截图的代码,会走到 failed to open url 的部分......

微信会直接无法打开,QQ 会打一个 404 页面。

需要做防御性处理,兜底用原先的 URL scheme 的分享方式。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants