gpt4 book ai didi

ios - 错误内部导航被拒绝 - IN

转载 作者:可可西里 更新时间:2023-11-01 04:23:11 24 4
gpt4 key购买 nike

我在使用 angularJS 的 ionic 应用程序中收到以下响应。我尝试在 angularJS iframe 中打开我的链接。

ERROR Internal navigation rejected - <allow-navigation> not set for url='about:blank'
ERROR Internal navigation rejected - <allow-navigation> not set for url='https://ap.testing.com/testing/testing.s/testing'

但我尝试在我的 cofig.xml 中添加以下链接,但我仍然遇到同样的问题,请告知如何修复。

<allow-navigation href="https://ap.testing.com/*" />

最佳答案

我遇到了这个问题,结果发现有两个 config.xml 文件。

AppName/config.xml <- 这个出现在 Xcode 中

AppName/platforms/ios/AppName/config.xml

我加了

<allow-navigation href="*" /> 

对他们俩都有效。使用 6.3.0。

关于ios - 错误内部导航被拒绝 - <allow-navigation> IN,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38073436/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com