📜  我们可以将 wedbsite url 添加为深度链接还是通用链接 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:11.488000             🧑  作者: Mango

代码示例1
t’s not possible to create links to the app in any of these places with regular URLs. That’s because regular hyperlinks, or URLs (like https://www.myapp.com/), don’t contain the ability to link anywhere other than sites within web browsers. The job of directing a user from the web to an app is handled by deep links.

Deep links, though they’re URI schemes, look different to URLs because they have another type of destination. Here’s an example: myapp://path?routing_parameter

First, the scheme differs from a traditional URL, which begins with https://. In a mobile deep link, it’s the name of the app. Here, that’s myapp://. Routing parameters follow the scheme (path?routing_parameter), controlling how the link functions. Below shows what a deep link could look like if you had an e-commerce app and wanted to point users to a specific product page: myapp://product?product_id=6398342