简体   繁体   English

Firebase动态链接无法在iOS 10上打开应用

[英]Firebase Dynamic Links not opening app on iOS 10

I am just getting ready to release a new version of my app with Firebase Dynamic Links in. I implemented dynamic linking a couple of months ago, pre-iOS 10, and everything was working as expected. 我正准备使用Firebase动态链接发布新版本的应用程序。几个月前,在iOS 10之前,我实现了动态链接,并且一切正常。 Now I have come to do some final tests, having built for iOS 10, I am having issues. 现在,我已经针对iOS 10进行了一些最终测试,但遇到了问题。

  • If the app is installed on iOS 9 device, opening a dynamic link will take me to my app 如果该应用程序安装在iOS 9设备上,则打开动态链接会将我带到我的应用程序
  • If the app is installed on iOS 10 device, however, opening the same dynamic link on iOS 10 will take me to my app's page in the App Store app (ie does not recognise it as installed). 但是,如果该应用程序安装在iOS 10设备上,则在iOS 10上打开相同的动态链接会将我带到App Store应用程序中我应用程序的页面(即无法识别为已安装)。

I am using the latest version of the Firebase iOS SDK (3.9.0), and using Testflight Beta build of the app (ie external tester). 我正在使用Firebase iOS SDK的最新版本(3.9.0),并使用该应用程序的Testflight Beta构建(即外部测试器)。

Anyone else seen this behaviour, or know of a solution? 其他人看到过这种行为,还是知道解决方案?

Dynamic Links for installed apps on iOS uses Universal Links, and there weren't any major changes between iOS 9 and 10 that I'm aware of that would explain this behavior. iOS上已安装的应用程序的动态链接使用通用链接,并且我知道iOS 9和10之间没有任何重大变化可以解释这种现象。

That said, it's possible to accidentally disable Universal Links for an app on iOS. 也就是说,可能会意外地为iOS上的应用禁用通用链接。 Perhaps that's what happened in your case, since your issue sounds suspiciously similar to this one: Universal Links not working on iOS10 也许这就是您的情况,因为您的问题听起来可能与此类似: Universal Links在iOS10上不起作用

(Also, remember that you need to open the link by clicking on it in an app like Notes or Safari, not by entering it into the address bar. But if you were able to get this to work in iOS 9, you probably already knew that.) (此外,请记住,您需要通过在Notes或Safari等应用中单击链接来打开链接,而不是在地址栏中输入链接。但是,如果能够在iOS 9中使用它,您可能已经知道那。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM