我正在使用这样的 uri-scheme 测试深层链接:https://reactnavigation.org/docs/deep-linking/#testing-with-npx-uri-scheme
我在 Android 上测试过,但在 iOS 上遇到了问题。
如果我杀死了应用程序,然后运行命令,应用程序将转到带有深层链接的正确页面。但是,如果我在后台打开该应用程序并运行它,该应用程序将打开并停留在之前的页面上。
我按照 iOS 上的设置说明进行操作,但当应用程序打开时我仍然无法正常工作:https://reactnavigation.org/docs/deep-linking/#setup-on-ios