Titanium JIRA Archive
Alloy (ALOY)

[ALOY-995] Support turning off iCloud backup for auto-generated model databases

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsModels
Labelsn/a
ReporterTim Poulsen
AssigneeTim Poulsen
Created2014-04-25T18:12:10.000+0000
Updated2014-08-28T21:29:29.000+0000

Description

As a developer, I'd like to be able to specify that the database generated by an Alloy model not be backed up to iCloud as part of the model's definition. This functionality is provided now if I install a pre-built database. But it is not implemented for the database file created automatically by the sync adapter. Original reference at https://github.com/appcelerator/alloy/pull/119#issuecomment-41156201 Code for setting this option with pre-built databases is at /lib/alloy/sync/sql.js, approx line 413 db.file.setRemoteBackup(false) As pointed out in http://developer.appcelerator.com/question/174874/alloy-database-model need also to reconcile that models are associated with tables. There should be a logical and sure way to turn on or off iCloud backup for the entire DB.

Comments

No comments

JSON Source