4

I got a problem with "deviceReady" event not fired in the combination of the following situation

1) IOS 7 (Android 4.4 tested ok)

2) Using Cordova 3.1.0 or 3.2.0

3) overwrite ( note not appending, basically changed the whole user agent string to some arbitrary string)the user agent natively following the instruction here Change Phonegap User Agent (I can confirmed the user agent is modified by reading navigator.useragent)

4) Add org.apache.cordova.device plugin

If I removed Device plugin, but still loads other plugins like PushPlugin and globalization, "deviceReady" fired ok.

Try to step through the cordova IOS native code, but at this stage it does not reveal much.

Any help will be appreciate.

Thanks

Community
  • 1
  • 1
swl
  • 43
  • 1
  • 4
  • even I am facing the same issue.r u getting alert() fired inside the function of device.ready.I am using cordova 2.9 – kavinhuh Jan 09 '14 at 06:26
  • Can you update to the latest version of everything? (xCode, cordova, and the device plugin) – kris Oct 18 '16 at 08:56

0 Answers0