2

My need is I want to access to a sqlite db (like I could do with websql or indexeddb) through the Cordova-SQLitePlugin inside a Web worker. I can't import 'cordova.js' inside a web worker because of 'window' dependency. One solution could use postMessage and ask main thread to perform queries and get back result but it doesn't seems ideal.

Sébastien Renault
  • 311
  • 1
  • 2
  • 5

0 Answers0