capacitor-community / capacitor-community/sqlite
feat: native-side access
- Dominant language
- Swift
- Stars
- 661
- Forks
- 158
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe:**
Nope, pure functionality addition.
**Describe the solution you'd like:**
I'd love to be able to access the "implementation"-API surface area from Swift/Java/Kotlin/Etc. My use case is building a native plugin that interacts with the same SQLite database as the JS side. Specifically, I want to scribble down location tracking data from the native side, so I'm not dependent on the JS layer doing this (and getting shut down or whatever).
**Describe alternatives you've considered:**
I've built this as a JS process, but it seems like my background processes constantly get shut down for one reason or another, and that's resulting in missed tracking points.
**Additional context:**
I was thinking of turning these objects into singletons, so they can be easily grabbed from elsewhere in the application.
Contributor guide
Assessment
This issue has not been assessed yet.