Using Storage with Android

#1

Trying to use the Storage module to make an Http request, save the data set to a named key and then retrieve and display the data.

With my current code base this is working from the browser (ionic serve) but not from the emulator (ionic cordova emulate android).

I have tried adding and removing SQL Lite. It doesn’t work either way. Here is the output I get:

With SQL Lite installed:
[app-scripts] [08:48:18] console.log: OPEN database: _ionicstorage
[app-scripts] [08:48:18] console.log: new transaction is queued, waiting for open operation to finish
[app-scripts] [08:48:18] console.log: OPEN database: _ionicstorage - OK
[app-scripts] [08:48:18] console.log: DB opened: _ionicstorage
[app-scripts] [08:48:18] console.log: null

Without SQL Lite installed:
[app-scripts] [08:44:20] console.log: OPEN database: _ionicstorage
[app-scripts] [08:44:20] console.log: new transaction is queued, waiting for open operation to finish
[app-scripts] [08:44:20] console.log: OPEN database: _ionicstorage FAILED, aborting any pending transactions
[app-scripts] [08:44:20] console.log: Could not open database

Any suggestions on what I can do here?