Phonegap deviceready not firing using Cordova 2.2.0 in iOS

前端 未结 5 2072
失恋的感觉
失恋的感觉 2021-01-02 06:59

I am building a PhoneGap App. Unfortunately, when deploying to iOS devices and simulators the deviceready event never fires. I\'m using Phonegap 2.2.0.

5条回答
  •  梦谈多话
    2021-01-02 07:25

    To add to olore's answer I ended up using the approach that the code in the default project (that gets built from the ./create script) uses (which is different to the code in the Event docs).

    The major differences are (I do not really know which one of these actually are to be taken into account):

    • cordova-2.2.0.js is located in the root folder
提交回复
热议问题