
Jit ChakrabortyThis one was painful. I was integrating SQLite into my app (EchoId), and like most people in the...
This one was painful.
I was integrating SQLite into my app (EchoId), and like most people in the Ionic/Capacitor ecosystem, I went with Capacitor SQLite. Seemed like the obvious choice.
Big mistake.
Nothing worked properly.
At first, I assumed it was my fault. Misconfiguration, bad setup, something subtle.
So I did what every dev does:
Still broken.
There was no clear information anywhere.
Even AI tools (yes, including ChatGPT) kept suggesting:
“maybe try this”
“maybe it’s that”
Nothing concrete. Just guesses.
After ~20 days of digging, I found the real issue:
👉 The plugin was effectively deprecated / not properly maintained at that time
Not clearly stated.
Not documented properly.
Just silently… unreliable.
That’s why nothing made sense.
At that point, I stopped trying to “fix” it.
Switched to:
👉 Cordova SQLite
Also, credit where it’s due — big respect to the original author (@jepiqueau) for the work and contributions.
Yeah, older.
Yeah, less “modern”.
But guess what?
It just works.
EchoId still uses it today — and it runs perfectly.
The plugin has since been moved to the Capgo organization, and from what I’ve seen it might be in a much better state now.
But back then? It was a black hole.
If you’re stuck in a loop where nothing makes sense — step back and question the tool itself.
Sometimes the bug isn’t in your code.
If you're building real-time or offline-first apps and have dealt with similar issues, I’d like to hear what you ended up using.