简体   繁体   English

不使用剪贴板的延迟深度链接有哪些替代方法?

[英]What are some alternatives for deferred deep-linking without using the clipboard?

Currently we utilize the clipboard for deferred deep linking, but with the upcoming changes to iOS16 we expect the success rate to drop drastically.目前我们使用剪贴板进行延迟深度链接,但随着 iOS16 即将发生的变化,我们预计成功率会大幅下降。 What other alternative methods are possible?还有哪些其他替代方法是可能的? We are considering branch.io but we'd like to explore options for an in-house solution first.我们正在考虑 branch.io 但我们想先探索内部解决方案的选项。

You can do something like this:你可以这样做:

  • web app has page, with deep link that is either opens your native app or opens app installation page. web 应用程序具有页面,其中包含打开您的本机应用程序或打开应用程序安装页面的深层链接。
  • if native app is installed just use deep link to pass some data如果安装了本机应用程序,只需使用深层链接来传递一些数据
  • if native app is not installed, save your data to local storage and continue to app store如果未安装本机应用,请将您的数据保存到本地存储并继续应用商店
  • when native app is opened, redirect user to web app, read your local storage and give user some "continue" button, that is actually a deep link, same as on step 1打开原生应用程序时,将用户重定向到 web 应用程序,读取本地存储并给用户一些“继续”按钮,这实际上是一个深层链接,与步骤 1 相同

I wish someone has a better solution.我希望有人有更好的解决方案。

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

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