Closed DeanWilliamMills closed 6 years ago
make sure to add cordova.js in your index.html before calling insomnia.js
<script src="cordova.js"></script>
<script src="Insomnia.js"></script>
Not necessary to include the inomnia.js file just include the cordova.js file and you're good to go! :)
Hi Eddy
Can you please help me. I get the following error when I add Insomnia in my project:
Uncaught ReferenceError: cordova is not defined (anonymous function) @ Insomnia.js:21
It is this line : cordova.addConstructor(Insomnia.install);
Your help will be appreciated.