React Native iOS 深层链接仅在应用程序关闭时有效

问题描述 投票:0回答:0

我正在使用这样的 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

ios react-native react-navigation deep-linking url-scheme
© www.soinside.com 2019 - 2024. All rights reserved.