.net maui 延迟深度链接

问题描述 投票:0回答:1

我们正在 .net maui 中编写一个跨平台应用程序。

我们希望用户能够通过文本发送(深层)链接,这将导致收件人的设备打开应用程序(如果已安装)或重定向到 App Store 或 Play Store 中的应用程序。

我们可以看到,唯一的方法是拥有一个 Web 服务并创建一个指向该服务的链接,这会导致服务回调设备以启动应用程序,如果设备响应表明失败,则它会发送一个应用程序存储下载链接。

这是唯一/最好的方法吗?

.net google-play app-store maui deep-linking
1个回答
0
投票

我对你的意思有点困惑

From what We can see the only approach is to have a web service and create a link to that service which results in the service calling back to the device to start the app
。但本质上,短信将包含在 Android 和 ios 应用程序中注册的 url(可以包含查询参数,在应用程序中处理)。然后,当用户点击该 url 时,操作系统将判断是否存在已注册的应用程序链接,并打开正确的应用程序或商店进行下载。

© www.soinside.com 2019 - 2024. All rights reserved.