Force sqlstorage to be synchronous


Currently to get sqlstorage I have to do an async call like this which returns a promise.

this.platform.ready().then(() => { = new Storage(SqlStorage);‘email’).then((email) => {


I do not want to do an async call, rather I need to make sure this I retrieve the content from the data base synchronously. Can I do this?


Take a look at it might have something useful.

Although going against the inherent nature of ionic is not always the best idea.

Hope it helps