Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to acess other capacitor plugins like sqlite in backgroundTasks. #67

Open
Coder-gunjan opened this issue Jan 7, 2024 · 4 comments

Comments

@Coder-gunjan
Copy link

I am currently working on a project where I need to synchronize the local SQLite database of my app with the server. To achieve this, I am considering using a background runner plugin to fecth data from db and make POST requests. But not finding any way to acess sqlite db inside background task and make post requests.

@miguel2211
Copy link

Did you find a solution?

@PratikBodawala
Copy link
Contributor

@gryphonmyers
Copy link

@theproducer do you have any idea when this might become possible? I think lots of people need SQLite to do their work 😅

@PratikBodawala
Copy link
Contributor

Just my two cents, if somehow we made the capacitor plugin work inside the background worker, that would be far more powerful.

And I know that currently, we have put functions statically built in aar file.

Can put functionality to pass flags during compilation and include all required native code built inside aar files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants