ios – Ionic 2设备准备好在2000ms内没有开火

我在 IOS平台上的离子2 beta 11工作,运行应用程序使用离子运行ios白色屏幕出现并得到以下消息:
Native: deviceready did not fire within 2000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.

有什么建议吗?究竟是什么问题?

解决方法

这可能是由于几个问题,所以你必须尝试几件事情:

>通过运行离子状态复位 – 平台重新安装平台
>在执行此操作之前先运行离子状态重置 – 重新安装您的插件,然后检查您的所有插件是否包含在您的package.json文件中.
>就像@joshmorony说的here一样,尝试从你的index.html更改Content-Security-Policy:

<meta http-equiv="Content-Security-Policy" content="default-src gap://ready file://* *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *; style-src 'self' 'unsafe-inline' *”>

相关文章

当我们远离最新的 iOS 16 更新版本时,我们听到了困扰 Apple...
欧版/美版 特别说一下,美版选错了 可能会永久丧失4G,不过只...
一般在接外包的时候, 通常第三方需要安装你的app进行测...
前言为了让更多的人永远记住12月13日,各大厂都在这一天将应...