browser-deeplink icon indicating copy to clipboard operation
browser-deeplink copied to clipboard

Using intent:// URLs on Android always leads to opening the Play Store

Open martnst opened this issue 9 years ago • 4 comments

As far as I understood browser-deeplink it is supposed to stay on that website if they corresponding app is not installed. But since on Android it will transform the deepening into an intent url, it will actually always open the Google Play Store App as it's apparently listing to those URLs.

martnst avatar May 13 '15 09:05 martnst

Nope, it is not the way it was designed in it's current state. If the app is not installed you get redirected to Google Play, so you can download the app instead.

In a future release I'm looking at changing the behavior and make it more flexible, so you can choose whether or not to redirect :)

hampusohlsson avatar May 15 '15 09:05 hampusohlsson

Okay I see. I added a switch to turn the entire deeplinking of in android on a fork. @hampusohlsson Could please let me know which minifier you use?

martnst avatar May 17 '15 13:05 martnst

Sure. Any uglifier will do, perhaps this one

hampusohlsson avatar May 17 '15 14:05 hampusohlsson

This seems to be an issue with which browser is installed on Android. I've see the default (non chrome) browser behave this way but Chrome allows for a fallback url: https://developer.chrome.com/multidevice/android/intents The challenge is to properly handle the cases where the app isn't in the store but you want to take them to a custom location where the APK lives.

danjger avatar Sep 14 '16 14:09 danjger