我正在尝试测试配置中的深层链接,在expo文档中我找到了下一行Development in Expo Go: exp://127.0.0.1:19000/--/path/into/app?hello=world,但是当我尝试运行npx uri-scheme open exp://127.0.0.1:19000/--/path/into/app?hello=world --ios时,我得到了一个错误no matches found: exp://127.0.0.1:19000/--/path/into/app?hello=world,只要我删除了查询字符串,它就可以工作了。你知道我做错了什么吗?在官方文档中没有找到任何答案。
发布于 2021-08-12 12:55:23
我发现转义?字符解决了这个问题。
# Add `\` before `?`
# Replace `127.0.0.1:19000` with your host.
npx uri-scheme open exp://127.0.0.1:19000/--/path/into/app\?hello=world --ios这仅适用于iOS模拟器。世博会Go应用程序没有运气。
https://stackoverflow.com/questions/68099028
复制相似问题