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 – Ionic 2设备准备好在2000ms内没有开火全部内容,希望文章能够帮你解决ios – Ionic 2设备准备好在2000ms内没有开火所遇到的程序开发问题。

如果觉得来客网网站内容还不错,欢迎将来客网网站推荐给程序员好友。