【发布时间】:2020-09-16 12:52:28
【问题描述】:
我遇到了深度链接问题。我的网络应用程序的示例链接:https://example.com/#/create-password/:id 在打开此 URI 期间,我的应用无法启动。
我的 app.json:
"android": {
...
"intentFilters": [
{
"action": "VIEW",
"autoVerify": true,
"data": [
{
"scheme": "https",
"host": "*example.com",
"pathPrefix": "/#/create-password"
}
],
"category": [
"BROWSABLE",
"DEFAULT"
]
}
]
...
}
当我从 app.json 中删除哈希标记并运行 https://example.com/create-password/:id 时,我的 react 本机应用程序就会启动。 你能帮我解决这个问题吗?
【问题讨论】:
标签: reactjs react-native-android