我是离子开发的新手,我正在使用下面的代码(按钮单击事件)来确保本机插件调用代码在web浏览器上使用“离子服务”执行时不会中断/出错: console.warn('Push notifications not initialized.Cordova is not available - Run in physical device'); }
--other wise run the na
现在,在ios设备上构建主应用程序失败,原因是: Failed to load webpage with error: Could not connect to the server.然后卡在闪屏上。模拟器运行良好。不确定确切的错误是什么,以及如何解决这个问题?我已经移除了ios平台,并重新添加了它,删除了设备上的应用程序,但它总是失败。我从cratch克隆了这个项目 npm install
ionic cordova platfor