Window.openDatabase: method not found

0

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!

cordova
visual-studio-2017
windows-10
asked on Stack Overflow May 10, 2018 by Pippo J Nico • edited May 11, 2018 by Phonolog

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0