Skip to content

expo-sqlite as a backend storage #46

Open
@martin-ecatch

Description

@martin-ecatch

First of all, thanks for this library!

My app was built with the previous generation of this adapter, using expo-sqlite. It had been running perfectly for years. The only thing I needed to do was patch the \u0000 issue in sqlite. However, after upgrading to this new adapter last year, our app spiked with crashes and ANR's, which I attribute to op-sqlite. Upgrading op-sqlite to the next (compatible) version made things even worse with random errors about transactions not started, etc. Newer versions of op-sqlite changed the API and are not backwards compatible.
Therefore, I don't trust op-sqlite any more, I just don't think it's mature/stable enough yet. Maybe it needs a couple more years.
I was thinking about refactoring this library and adding expo-sqlite as an optional backend. Would you be interested in a PR to merge into this library? It could be a configuration switch, so you can still use op-sqlite if you want.

Thinking more long-term... my business is very much dependent on this piece of technology. I think CouchDB+PouchDB is the greatest thing ever. What are your plans maintaining this in the future? Do you want any help? Would you be interested in having a chat with me about this?
Sorry for mixing all this into one issue but GitHub doesn't have a way to message you directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions