-
Notifications
You must be signed in to change notification settings - Fork 86
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
database not persisting when doing a phone transfer #105
Comments
I'm not sure why but the code has come from this commit: nolanlawson/cordova-plugin-sqlite-2@bd8ec1c |
I suggest making this optional and allowing backups by default |
I've updated my issue nolanlawson/cordova-plugin-sqlite-2#80 with a response from Apple about I think it is safe to remove |
I just changed this to the directory that the apple docs suggest. I feel like I read that the noCloud directory is not backed up regardless of flag. |
@chrisdrackett Could you share a link to the Apple docs you're referring to? |
I can't seem to find it outside of Cordova docs, so I doubt that's true. Regardless, seems odd to store files that are backed up to the cloud in a "NoCloud" folder for new installations at least. |
I just did a phone-to-phone transfer on iOS 15 and found that my DB didn't make it to the new phone. I'm in the process of seeing if this is also the case for an iCloud transfer as well.
I haven't looked too deeply into this yet, but did find the following:
react-native-sqlite-2/ios/RNSqlite2.m
Line 64 in 7d8dfaa
Does this mean that this library does not put the database somewhere that will be syncable? Curious about the reasoning here as we really want to make sure that a users database is backed up to iCloud and will make it through a device to device transfer.
The text was updated successfully, but these errors were encountered: