2 Replies Latest reply on Oct 5, 2017 10:17 PM by dobbleii

    Why is deviceready not firing on app load?

    dobbleii

      Hi guys,

       

      I'm trying to build an app for iOS. On the initial app load (when you first click on the icon for example), the deviceready event is not being fired.

       

      However, when you minimize the app (or get it to lose focus) e.g. by clicking the iPhone button, and then go back to the app, then the deviceready event is fired.

       

      Anyone know what is going on?

       

      I tried including the Content-Security-Policy header according to this post, but it the problem still persists.