ionic cordovaSQLite plugin error Cannot read property 'openDatabase' of undefined
问题 I have 1 issue in ngCordova plugin cordovaSQLite. Below code: var db = $cordovaSQLite.openDB({ name: "myDB.db" }); i'm using "ionic serve" for run project in browser. error: Uncaught TypeError: Cannot read property 'openDatabase' of undefinedng-cordova.js:5058 openDBapp.js:27 (anonymous function)ionic.bundle.js:37388 (anonymous function)ionic.bundle.js:2241 onPlatformReadyionic.bundle.js:2220 onWindowLoad [Main error] http://i.stack.imgur.com/Yctpl.png Could you please help me? 回答1: As stated