sqlite
sqlite copied to clipboard
Can I use this plugin inside the background runner capacitor plugin?
I'm working on an app where I use this plugin mainly for offline functionality, but while online I perform certain replication functions to update the offline database as the app is being used. I'm running all this logic in the main thread but I'm wondering if I can leverage Capacitor's Background Task Runner(https://capacitorjs.com/docs/v5/apis/background-runner) along with this plugin.
Or is my approach may not be the correct one? I would appreciate if anyone can shed light on this or can point me in the right direction.