I'm using cordova-sqlite-plugin for maintaining a localdatabase for my application. Below is my code:
<script type="text/javascript" src="js/cordova.js"></script>
<script type="text/javascript">
alert("Running...")
document.addEventListener("deviceready",function(){
window.sqlitePlugin.openDatabase({
name: 'test.db',
iosDatabaseLocation: 'default'
}, function(db){
alert('Database Created');
});
</script>
});
Below is the screenshot of the error which I'm getting while running the same on xcode simulator
It will be a great help if anyone can suggest some best possible solution.
