deviceready won't fire in Phonegap 1.0.0 on Android

前端 未结 2 1106
我在风中等你
我在风中等你 2020-12-29 14:52

I\'ve tried to setup Phonegap on Android and deviceready won\'t fire. The reason is that DeviceInfo.uuid is always null/undefined.

It seems

2条回答
  •  甜味超标
    2020-12-29 15:23

    In case someone else stumble on this problem.

    I hadn't realized that phonegap-1.0.0.js is different for the iPhone and Android version. It has the same name, but the content is different. Thus, one must load the correct file. I solved it like this:

    
    

提交回复
热议问题