1 更新插件
需要更新的插件有cordova-plugin-splashscreen、cordova-plugin-statusbar、cordova-plugin-ionic-webview。
更新完webview的插件之后会出现网络请求失败的问题(跨域问题),解决方案添加 cordova-plugin-wkwebview-file-xhr 插件。并在config.xml添加配置
<preference name="InterceptRemoteRequests" value="all">
2 更新启动图(非常重要、一定要更新)
问UI要一张1125x2436的启动页 放入项目中
在config.xml中下添加
<splash height="2436" src="图片路径名称.png" width="1125"