navigator.connection is undefined in Phonegap Developer App (Android)

183 Views Asked by At

I have a problem with the Phonegap Developer app. When I try to access some plugins like network-information or contacts, I get a is undefined error. For example this code:

alert(navigator.connection);

shows a alert box saying undefined.

The documentation says that this app supports core plugins by default, so I don't know what is wrong here.

Thanks for your time.

0

There are 0 best solutions below