I have a working Android App written in Java that’s using SQLite as storage engine. I would like to move this App to Ionic to have both major mobile platfoms supported.
I know that Ionic has a storage module that encapsulates the various databases that are available on the different platsforms, but this gives me only a key/value store.
My problem is that I would like to debug the most part of it via the Desktop App. I know that I can’t use SQLite on the Ionic Desktop App, but I could live with IndexedDB instead. My idea was to create 2 db services for SQLIte and IndexedDB and decide at runtime which one to use. But this isn’t working, since the JITCompiler always wants to compile the SQLite part.
How can get around this problem?