Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backup database to iCloud/iTunes #108

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

chrisdrackett
Copy link

@chrisdrackett chrisdrackett commented Sep 30, 2021

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.

@craftzdog
Copy link
Owner

Did you check it works without any issue?

@chrisdrackett
Copy link
Author

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

@gaodeng
Copy link

gaodeng commented Sep 30, 2021

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

@chrisdrackett
Copy link
Author

chrisdrackett commented Sep 30, 2021

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

@knubie
Copy link

knubie commented Oct 12, 2021

@chrisdrackett How did you handle the migration in JS?

@chrisdrackett
Copy link
Author

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...

chichilatte added a commit to chichilatte/react-native-sqlite-2--allow-ios-backup that referenced this pull request Aug 29, 2023
This is being applied to @craftzdog's master v3.6.2 (commit 64ec364).

Here's the patch, a PR which has yet to be approved...
craftzdog#108
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

database not persisting when doing a phone transfer
6 participants