Fail to launch app after redirection in Chrome browser, but succeed in native browser

Hi everyone,

I have stuck in this issue for quite a while. If you get a hint, please let me know.
I tried to launch my app by a link in Browser.

Here is a example of my scheme : example.com://host/whateverpath

I used window.location= url to redirect the page and launch the app after the redirection. It works fine with native browser, but not in Chrome. In chrome, it just redirect to the page.

If anyone gets an idea, please let me know.

I have tried : window.open(url)
window.location.href=url
adding window.event.returnValue = false before window.location or window.location.href

I could not use intent because I need a cross-platform solution so that the url could launch both iOS and Android.

Please let me know if there is a way to launch app through Chrome. help!! Please!!

Sign In or Register to comment.