hampusohlsson / browser-deeplink

Redirect mobile website users to your native iOS and/or Android app
MIT License
494 stars 171 forks source link

Chrome 25+ does not work with iFrame #3

Open 66Ton99 opened 9 years ago

66Ton99 commented 9 years ago

This is doc https://developer.chrome.com/multidevice/android/intents

hampusohlsson commented 9 years ago

Have you experienced any issues with this? The plugin is using intent:// for Android browsers (except Firefox)

66Ton99 commented 9 years ago

no, if it is done in A tag, but this lib does it with IFRAME tag https://github.com/hampusohlsson/browser-deeplink/blob/e20931939fc23e968b8e16a9a4ee57d7dcdcea6c/browser-deeplink.js#L188-L197 and it does not work.

DeepakPant commented 9 years ago

Fallback to android store is not working in chrome for android in my case.

cdressler commented 9 years ago

I'm having the same issue here, the fallback to Google Play store isn't working on Android. It works fine for iOS devices.

nelz9999 commented 9 years ago

From the post: https://paul.kinlan.me/deep-app-linking-on-android-and-chrome/, I think it may be a timing issue: "An synthetic link click within 1 second to an intent: URL will resolve the intent."

primax79 commented 9 years ago

Chrome needs now a user gesture, I think that it cannot work in a frame

extract from Chrome doc

https://developer.chrome.com/multidevice/android/intents

Chrome doesn’t launch an external app for a given Intent URI in the following cases: When the Intent URI is redirected from a typed in URL. When the Intent URI is initiated without user gesture.

diegobill commented 8 years ago

Same problem! :+1: