New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 484958 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 331571
Owner:
Last visit > 30 days ago
Closed: May 2015
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Typed-in links disallow redirect to Chrome intent to open native app

Reported by kariti80@gmail.com, May 6 2015

Issue description

Example URL:
https://bnc.lt/chromeissue

Steps to reproduce the problem:
1. Type-in or paste in the link directly to Android Chrome 40+
2. Press Go
3. See an empty, blank screen

What is the expected behavior?
Should redirect to the Play Store if the app is not installed, or open up the app if it is installed. We're setting window.location to the proper intent string as specified here: 
https://developer.chrome.com/multidevice/android/intents

If you instead send yourself that same URL via email, SMS or whatever, then click it, you'll notice that the redirect to the Play Store or to the app occurs correctly.

What went wrong?
In some release in Chrome 40, it was decided that typed-in URLs should prevent automated redirects. It seems that there wasn't much of an issue that was resolved here, and the intention was lost as the issue was passed from person to person.
https://code.google.com/p/chromium/issues/detail?id=331571

This change unfortunately hurts developers who don't have mobile websites and depend on redirects to drive a majority of their app traffic. We have had to build an intermediate splash page with a giant button that launches the Chrome intent when pressed, when the most optimal user experience would be a redirect to the Play Store or the app.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? Yes Pre 40

Does this work in other browsers? Yes 

Chrome version: 40+  Channel: stable
OS Version: any
Flash Version:  n/a

Please help us.
 
Owner: klo...@chromium.org
Status: Assigned
I am able to repro this issue on Nexus5/L on M42.
Labels: triaged
Cc: klo...@chromium.org
Owner: jaekyun@chromium.org
Mergedinto: 331571
Status: Duplicate
An Intent navigation triggered by a user's typing was blocked intentionally. You can see the details in   Issue 331571  .

One good news is that the navigation will be just blocked without showing an error page since M42.

And please see https://paul.kinlan.me/deep-app-linking-on-android-and-chrome/ for browser_fallback_url which supports to load a fallback URL when an Intent navigation is blocked.

The browser_fallback_url would work for a typed URL from Chrome v43.

Comment 5 by tkent@chromium.org, Dec 3 2015

Labels: -Cr-Content Cr-Blink

Sign in to add a comment