I\'ve been looking for a way to open a native iOS app from the browser. I found a decent solution here: Is it possible to register a http+domain-based URL Scheme for iPhone
For me this does the job:
window.open(appLink, '_system')` window.open(appstoreLink, '_system')
Works for android and ios. If the first one can't be opened the second one is called without alert or something. Otherwise it just opens the app.