cordova itms-services: 未能打开 问题 我使用的是cordova的itms-services协议更新
window.location.href = 'itms-services://?action=download-manifest&url=https:******** 1 使用xcoder编辑运行报错:
ERROR Internal navigation rejected - not set for url='itms-services://?action=download-manifest&url=https:******
于是添加 在配置文件中添加配置
1 重启后,报错CDVWebViewDelegate: Detected redirect when loadCount=0 1 于是去研究了下 CDVWebView 发现CDVWebView是cordova的核心组件 按道理说,应该使用默认的safari浏览器打开才能更新 找到 allow-navigation 和 allow-intent 区别 立马删掉配置
1 并添加 1 于是立马显示更新啦~~