android - Deep link with # in url is not redirecting to app
问题描述
I have a deep link URL that I want to match for a specific activity of my app:
https://example.com/#/auth
The problem is with # in my URL, when I omit it, deep-link works fine. but with # deep link is opening chrome instead of my app.
Here are the manifest meta tags:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="example.com" android:pathPrefix="/#/auth"/>
</intent-filter>
解决方案
推荐阅读
- python - 将列表/数组与数据框列进行比较?
- python - 子进程:gekko 包中的“执行格式错误”
- java - Java Selenium + 2Captcha + 提交表单
- azure-devops-rest-api - 是否可以通过 REST API 设置变量组的权限?
- sql - 为什么在进行选择计数时转换失败?
- r - 组内降序不改变顺序
- python - 在 CIFAR10 数据集上训练深度卷积 GAN 时损失没有变化
- haskell - 运行时错误 - 函数中的非详尽模式
- c++ - 如何只减慢一部分代码而不减慢其余部分?
- c# - 从 ASP.Net 核心 Web API 中的发布请求在基本控制器中分配值