Pseudo-proposition, in fact, JS can not determine whether your phone exists in this application, encountered such a demand we should be with the iOS and Android development colleagues to discuss, need them to give you a URL to try to open, if you can open it means the phone has the app, if not open it means that the phone does not have this app
//judgment is not an iOS app
If(Browser.versions.ios) {
Links with iOS colleagues agreed window.location= ' Com.simpleInteraction.BeeStore://Keyid=${keyid} ';SetTimeout (function(){
Set timer If two seconds is not turned on the company official website Window.location.href= ' Http://www.beestore.io '; },2000)//Determine if Android is not an app}Else if(browser.versions.android) {
Links with Android colleagues agreed Window.location.href= ' Beestore://B11.app/openwith?keyid=${keyid} ';SetTimeout (function(){
Similarly window.location.href= ' Http://www.beestore.io '; },2000) }
H5 determine if there is a mobile app