react-native-sqlite-2 icon indicating copy to clipboard operation
react-native-sqlite-2 copied to clipboard

backup database to iCloud/iTunes

Open chrisdrackett opened this issue 4 years ago • 6 comments

fixes #105

I can't really think of a reason not to have this be the default. I actually can't even think of a reason for adding an option either, so we just updated the current behavior.

chrisdrackett avatar Sep 30 '21 00:09 chrisdrackett

Did you check it works without any issue?

craftzdog avatar Sep 30 '21 02:09 craftzdog

yeah, we're using it with our app now, I was able to backup to iCloud and then restore without losing any data

chrisdrackett avatar Sep 30 '21 02:09 chrisdrackett

Good job, it would be better if it is compatible with the old version, and do a little migration of the old version data

gaodeng avatar Sep 30 '21 05:09 gaodeng

that's a really good point, but is currently beyond me. We handled the migration above in our JS code, but it would be nice if this library could handle it internally

chrisdrackett avatar Sep 30 '21 15:09 chrisdrackett

@chrisdrackett How did you handle the migration in JS?

knubie avatar Oct 12 '21 01:10 knubie

any idea if/when this will be merged? Just starting a new project that also uses this and while I can patch there as well it would be nice not to have to...

chrisdrackett avatar May 11 '22 17:05 chrisdrackett