SQLite not working on iOS emulation or when viewing app with Ionic View app on iPhone


#1

SQLite plugin doesn’t appear to load when viewing my App in iOS emulator or on my phone (via Ionic View).

When I run ‘cordova plugin list’ in Terminal I get ‘cordova-sqlite-storage 1.4.8’ but when I console.log(window.sqlitePlugin) within my App, it always returns false.

On Android emulation it works fine and returns true.

SQLite is a Cordova plugin, so I wasn’t expecting it to work when viewing my app in Google Chrome, using the device emulation in Developer tools.