Skip to content Skip to sidebar Skip to footer

Cordova Network And Camera Api Returns Undefined

Building my first Cordova 4.0 app, and I would really need some help since I'm gonna show a demo of this app tmrw... When I try to access the Network info API and the Camera API (

Solution 1:

So the answer to this question was that Cordova automatically includes the cordova.js file in the projects www on build. So all I had to do was include the <script type="text/javascript" src="cordova.js"></script>tag.

That is, my copying the cordova.js file and including it into my JS-folder was unnecessary. Hope this might help somebody.

Post a Comment for "Cordova Network And Camera Api Returns Undefined"