I’m using a singleton provider to perform queries on an SQLite database. This is working fine for me. However I have only managed to get this working by wrapping the body of every method in my provider (including the constructor) in this.platform.ready().then(() => { insert function body here });
For example:
Is there a more efficient way to achieve this?