Hello,
I have recently faced some issue related to how some Android browsers behave. I wanted to start some "campaign" (too big word, but can't find better one) to promote my app and I created a landing page on my webpage that users are routed to when they scan a QR code with a link. Now, what I want to do is to register the fact that someone used this link with some code on my landing page (easy) and automatically redirect users to Google Play. It works, but user experience is not the best when the page is accessed from mobile phones. And it works inconsistently among browsers.
First, the ideal solution would be to issue redirect HTTP response (301) to the browser. This works great in Chrome. The browser tries to open a page, but then Google Play app is automatically opened when a redirect is received. Great! But in Opera the behavior is slightly different. Google Play opens as well, but not as a Google Play mobile app but as a web page inside the browser. So installing the app etc. is difficult. I discovered that when instead of returning 301 response I return 200 OK and a valid HTML page with "meta refresh" tag, Opera then opens Google Play as a mobile app. But this time the experience is not the best one either because you have another page that needs to be rendered, is kept in a browser history, navigation through a back button is problematic etc.
Has anyone faced the same issue and knows the way to achieve opening Google Play as a mobile app in all Android browsers and not being forced to serve redirecting page with "meta refresh" tag? Any help will be welcome.
I have recently faced some issue related to how some Android browsers behave. I wanted to start some "campaign" (too big word, but can't find better one) to promote my app and I created a landing page on my webpage that users are routed to when they scan a QR code with a link. Now, what I want to do is to register the fact that someone used this link with some code on my landing page (easy) and automatically redirect users to Google Play. It works, but user experience is not the best when the page is accessed from mobile phones. And it works inconsistently among browsers.
First, the ideal solution would be to issue redirect HTTP response (301) to the browser. This works great in Chrome. The browser tries to open a page, but then Google Play app is automatically opened when a redirect is received. Great! But in Opera the behavior is slightly different. Google Play opens as well, but not as a Google Play mobile app but as a web page inside the browser. So installing the app etc. is difficult. I discovered that when instead of returning 301 response I return 200 OK and a valid HTML page with "meta refresh" tag, Opera then opens Google Play as a mobile app. But this time the experience is not the best one either because you have another page that needs to be rendered, is kept in a browser history, navigation through a back button is problematic etc.
Has anyone faced the same issue and knows the way to achieve opening Google Play as a mobile app in all Android browsers and not being forced to serve redirecting page with "meta refresh" tag? Any help will be welcome.