I have an Android webview app for my Wordress website. When a user opens a url in my website using a mobile browser, I’d like to redirect to the corresponding url in the app if the app is already installed. Otherwise it should redirect to the app link on Google Play.

I have already done the URL interception in the app as mentioned at Intercepting links from the browser to open my Android app and my app can handle urls of my website.

As it’s a webview app, I can’t use the methods mentioned at How can i prompt visitors using Android phone to download my Android app? as it will cause redirection in the app too.

Any way to achieve this in mobile browsers only, while exempting my webview app?

Read more here: Redirect to app or google play for Android webview app


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: