Open roblav96 opened 8 years ago
@roblav96 using the sample provided in this repository and an iPhone 6S running iOS 9.3, everything gets extracted to /Library/NoCloud/
. Do you have steps to reproduce ?
@imhotep Sorry to be tardy to the party. I can confirm this issue by simply calling the function as so:
var sync = ContentSync.sync({ src: globals.url, id: 'test1.js'});
sync.on('progress',progressfn);
sync.on('complete',successfn);
sync.on('error',errorfn);
Using iPhone 6 @ 9.3.5
The file always appears to be placed in the ../Library/
storage instead of ../Library/NoCloud/
@html-rulez-d00d are you using copyRootApp option? There might be an issue there but otherwise I cannot reproduce the issue as the application path is always prefixed with NoCloud
.
@imhotep I am not using copyRootApp. This is occurring on multiple iPhones and I am using the simple configuration displayed in my initial comment.
@html-rulez-d00d then I am sorry. I can't reproduce it. If you want to upload a sample app somewhere, I'd be happy to give it a try!
Sorry, the app I have is my employer's property so I'm sure I have no options there. Also, I don't have access to a Mac outside of work so... I guess this will always be a mystery then. Perhaps @roblav96 could supply a sample of his app for evaluation since we both have the same issue.
Since updating my devices to iOS 9.3.2 files are synced to the incorrect
cordova.file.dataDirectory
path.Notice the files are being saved to my
/Library/
and not/Library/NoCloud/
likecordova.file.dataDirectory
reports.