Deeplink issue with IOS 10.3



我面对以下链接中提到的问题。

https://blog.branch.io/the-problem-with-apple-app-store-redirects-on-safarii os-10-3/

以下是我的php代码:

var websiteLink = 'https://itunes.apple.com/';
var deepLink = "xxxx://dev/one?action="+action+"&shopId="+shopId;
    var now = new Date().valueOf();
     setTimeout(function () {
          if (new Date().valueOf() - now > 5000) return;
          window.location = websiteLink;
     }, 100);
     window.location = deepLink;

这在OS中效果很好,小于10.3。我在Safari中获得地址无效的问题。此问题也只发生在Safari浏览器上,其作品在Chrome上都很好。

请建议我一些解决方案。

当用户将其iOS设备更新为版本10.3时,此问题就会发生。根据该网站分支机构的说法,这是Apple解决方案,用于修复一些安全孔。

要为您的应用启用Deep Links功能,您需要启动更新,因为Deep Links停止工作的原因之一是已过期的临时配置文件。

最新更新