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

iOS 微信唤起的问题 #24

Closed
draculapile opened this issue Feb 22, 2019 · 5 comments
Closed

iOS 微信唤起的问题 #24

draculapile opened this issue Feb 22, 2019 · 5 comments

Comments

@draculapile
Copy link

环境:iOS 12.0
机型:iPhone X,iphone 6s plus
问题:手机上装了测试版的app,app已配置 universal link,微信浏览器打开H5页面,iPhone X 会提示“即将离开微信,在App Store中打开”,6sp不会提示,再去Safari打开都可以成功唤起app,我看到源码中检测到微信环境,会传入应用的App Store地址,我把这部分改成
if (browser.isWechat) { return; }
还是会弹这个提示,是为什么呢?

@suanmei
Copy link
Owner

suanmei commented Feb 22, 2019

发一下代码

@draculapile
Copy link
Author

image
image

@suanmei
Copy link
Owner

suanmei commented Feb 23, 2019

@draculapile 代码没有问题,微信中没法调试,建议在关键节点alert,看代码实际怎么运行的

@draculapile
Copy link
Author

@draculapile 代码没有问题,微信中没法调试,建议在关键节点alert,看代码实际怎么运行的

好的,谢谢

@draculapile
Copy link
Author

我把那几个 js 在本地引入,改了一下,问题解决了

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