Having issues with my app that have been taking up the last 24 hours of my life. I've drilled it down to the fact that the "navigator" object is completely empty.
It's not empty on my phonegap developer test app, however as soon as I build the app and deploy onto a test device - the app suddenly cannot read the navigator object... I checked and it's completely empty.
Why would this be the case, that only once built and deployed is the navigator object completely empty?
Okay - I made a rookie mistake. I didn't know that the navigator object does not automatically work in a phonegap app, you have to install various plugins for the object such as the device plugin, geolocation plugin, etc.
Usually on mobile devices w/ internet browsers, this object is readily available. Even worse, this object IS readily available when testing the app in phonegap developer. But, once you build and deploy, it will not work without the proper plugins.