Skip to content

Deletes everything when hitting the max database size. (React Native - Android) #199

Open
@ksegla

Description

@ksegla

Hi, thanks for the great module.
I'm using this (probably improperly) as a quick (and temporary) way to store data (list of things) relevant for my app users.
In any case, I ran into a problem recently. When it hits the maximum size (6MB by default for React Native onAndroid), it just deletes (or at least fails to render) any stored data. Which would have had disastrous effects if the app was already launched.
Ideally, it would just fail updating the database, not destroy it.
Thanks for considering fixing this

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