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

[FEATURE] Improved coordination with iCloud backup #370

Open
brodycj opened this issue Oct 20, 2015 · 4 comments
Open

[FEATURE] Improved coordination with iCloud backup #370

brodycj opened this issue Oct 20, 2015 · 4 comments

Comments

@brodycj
Copy link
Contributor

brodycj commented Oct 20, 2015

The following Apple developer article describes how SQLite storage should be used with iCloud: https://developer.apple.com/library/ios/documentation/DataManagement/Conceptual/UsingCoreDataWithiCloudPG/UsingSQLiteStoragewithiCloud/UsingSQLiteStoragewithiCloud.html

It includes checkpointing and importing of data that is changed in the cloud, which is definitely NOT supported by this plugin. This may need to be supported in another project.

@johanneswilm
Copy link

This sentence "For each app, iCloud backup is configured in config.xml and is unfortunately enabled by default as documented at: https://cordova.apache.org/docs/en/6.0.0/guide/platforms/ios/config.html" [1], seems slightly confusing. Changing this setting apparently doesn't affect whethher the sqlite database is backed up as this is only about the local storage/web storage of the app itself. See phonegap/build#338 (comment)

I am still looking for a way to disable icloud backup when using sqlite together with pouchdb.

[1] https://github.com/litehelpers/Cordova-sqlite-storage

@brodycj
Copy link
Contributor Author

brodycj commented Feb 18, 2016

I am still looking for a way to disable icloud backup when using sqlite together with pouchdb.

Documented at: http://pouchdb.com/api.html#create_database

Will be added to README.md when I get a chance

Ref: #200 (comment)

@brodycj brodycj changed the title Improved coordination with iCloud backup [DOC BUG] Improved coordination with iCloud backup Feb 18, 2016
@brodycj brodycj changed the title [DOC BUG] Improved coordination with iCloud backup [BUG/FEATURE] Improved coordination with iCloud backup Feb 18, 2016
@brodycj brodycj changed the title [BUG/FEATURE] Improved coordination with iCloud backup [FEATURE] Improved coordination with iCloud backup Feb 18, 2016
brodycj pushed a commit to brodycj/Cordova-sqlite-storage-common-dev that referenced this issue Feb 18, 2016
brodycj pushed a commit to brodycj/Cordova-sqlite-storage-common-dev that referenced this issue Feb 18, 2016
@brodycj
Copy link
Contributor Author

brodycj commented Feb 18, 2016

This sentence "For each app, iCloud backup is configured in config.xml and is unfortunately enabled by default as documented at: https://cordova.apache.org/docs/en/6.0.0/guide/platforms/ios/config.html" [1], seems slightly confusing. Changing this setting apparently doesn't affect whethher the sqlite database is backed up as this is only about the local storage/web storage of the app itself. See phonegap/build#338 (comment)

[1] https://github.com/litehelpers/Cordova-sqlite-storage

Thanks @johanneswilm. I updated README.md and raised a survey at #430 for a BREAKING CHANGE to fix the default iOS location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants