Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
423 views
in Technique[技术] by (71.8m points)

APP分享页面,在手机自带浏览器如何调起本地APP?

从APP分享链接到微信,在微信打开,当点击操作按钮的时候,提示用浏览器打开,当在浏览器打开的时候,直接调起APP,2秒钟调不起来就跳转到APP的下载页面,这些逻辑都没问题,但是在浏览器打开的时候怎么都调不起来APP,一模一样的代码写在按钮的点击事件上,就能调起APP,有没有有经验的大神可以指点指点的?
image.png
image.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

时机的问题
协议还未被App挂载成功,需要轮询去尝试href=${协议}


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...