I have a Cordova project and I have Visual Studio 2017. I have a html-javascript-css app and, with Cordova, I created the apk without problems. I want to create the app for Windows 10 but I have an error about openDatabase. I have these plugin: cordova-plugin-geolocation, cordova-plugin-websql, cordova-plugin-whitelist and cordova-sqlite-storage.
If I compile and start the solution from Visual Studio Studio 2017, when I try window.sqlitePlugin.openDatabase I have this error:
Eccezione non gestita alla riga 4, colonna 21331 in ms-appx-web://com.myName.myApp/www/js/library/jquery-1.11.1.min.js 0x800a138f - JavaScript runtime error: Unable to get property 'openDatabase' of undefined or null reference
I try some solutions but without successes. Thanks!
User contributions licensed under CC BY-SA 3.0