简体   繁体   English

如何处理firebase动态链接的生命周期? (IOS)

[英]How to handle lifetime in firebase dynamic links ? (iOS)

I have a question about dynamic links on iOS. 我对iOS上的dynamic links有疑问。 We use them in our applications, and it seems that their expiration time is really short (about 5 minutes). 我们在我们的应用程序中使用它们,似乎它们的到期时间非常短(大约5分钟)。

From the appstore, its not working because the download last more than this time From xcode build, if we open directly the app its working. 从appstore开始,它不起作用,因为下载时间超过了这个时间从xcode构建,如果我们直接打开它的工作应用程序。 If we build from xcode and then wait 5 minutes, its not working anymore 如果我们从xcode构建然后等待5分钟,它就不再工作了

Any clue about this ? 关于这个的任何线索? Its really bad because Branch base lifetime is about 2hours, and a 5 minutes lifetime make them kind of useless 它真的很糟糕,因为分支基础寿命大约是2小时,而5分钟的寿命使它们变得毫无用处

Ok, got the answer from support. 好的,得到了​​支持的答案。 I put it here for others people 我把它放在别人面前

Hi Jonathan, 嗨Jonathan,

Yes, the 5 minutes limitation is intended. 是的,预计会有5分钟的限制。 I have brought your request to the attention of the engineers, but I can't share any details or timelines at this time. 我已将您的请求提请工程师注意,但我目前无法分享任何细节或时间表。

Thanks, 谢谢,

EDIT: As said Todd Kerpelman Firebase was super reactive and update the lifetime to 60 minutes. 编辑:正如所说Todd Kerpelman Firebase是超级反应并将生命周期更新为60分钟。 Work perfect now ! 现在工作完美! Thanks :) 谢谢 :)

Some further detail: 更多细节:

Yes, this 5 minute limitation was intentional as FeFe noted -- due to the way the Dynamic Links team is implementing this feature, the accuracy of dynamic links for non-installed apps tends to decrease over time, and they wanted to make sure there was good trade-off between time and accuracy. 是的,这个5分钟的限制是有意的,因为FeFe指出 - 由于动态链接团队实施此功能的方式,未安装的应用程序的动态链接的准确性往往会随着时间的推移而降低,他们希望确保有在时间和准确性之间做出良好的权衡。

That said, I think they went too far in the "accuracy" direction, and after some discussion, the team decided to change this limit to an hour. 也就是说,我认为他们走得太远的“准确性”的方向,经过一番讨论,团队决定此限制更改为一个小时。 Note that this value isn't set in stone and might be subject to change in the future, depending on feedback from developers and users. 请注意,此值不是一成不变的,将来可能会发生变化,具体取决于开发人员和用户的反馈。 But I think 60 minutes should be a pretty good setting for most people. 但我认为对大多数人来说,60分钟应该是一个非常好的环境。

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

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