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

Not working with iOS

Open agravatfemina opened this issue 7 years ago • 5 comments

I've added this script in web page. When URL opens in Android Device it's working fine. But it is not working iOS device it redirects to APP store..

agravatfemina avatar Mar 09 '17 16:03 agravatfemina

Same problem with me. But on iOS it works fine with chrome. Only problem is with Safar. @agravatfemina have you figured it out?

hassanabidpk avatar May 11 '17 02:05 hassanabidpk

I confirm the bug on iOS, works in Chrome but not in Safari... is there a fix yet?

Alex-BSD avatar May 16 '18 13:05 Alex-BSD

Any solution on this issue ?

TheMrugraj avatar Sep 03 '18 13:09 TheMrugraj

same in 2020 :(

@hassanabidpk , @TheMrugraj , @agravatfemina , @jester6san any updates or workaround in this issue?

WuglyakBolgoink avatar Jun 18 '20 23:06 WuglyakBolgoink

The problem is as follow:

  // Safari only supports src redirect
  // iOS supports all excepts src redirect
  iframe.src = isDesktopSafari() ? getRedirectURL() : '';
  iframe.onload = () => {
    iframe.parentNode.removeChild(iframe);
    window.location.href = getRedirectURL();
  }

clenemt avatar Apr 29 '21 12:04 clenemt