Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

[iOS 9.3.2] Syncs content into wrong cordova.file.dataDirectory folder #132

Open
roblav96 opened this issue May 26, 2016 · 6 comments
Open
Assignees

Comments

@roblav96
Copy link

Since updating my devices to iOS 9.3.2 files are synced to the incorrect cordova.file.dataDirectory path.

console

Notice the files are being saved to my /Library/ and not /Library/NoCloud/ like cordova.file.dataDirectory reports.

@imhotep imhotep self-assigned this Jun 1, 2016
@imhotep imhotep added the bug label Jun 1, 2016
@imhotep
Copy link
Collaborator

imhotep commented Jun 6, 2016

@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 ?

@macdonst macdonst added the ios label Jun 7, 2016
@html-rulez-d00d
Copy link

@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/

@imhotep
Copy link
Collaborator

imhotep commented Sep 15, 2016

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

@html-rulez-d00d
Copy link

html-rulez-d00d commented Sep 15, 2016

@imhotep I am not using copyRootApp. This is occurring on multiple iPhones and I am using the simple configuration displayed in my initial comment.

@imhotep
Copy link
Collaborator

imhotep commented Sep 16, 2016

@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!

@html-rulez-d00d
Copy link

html-rulez-d00d commented Sep 16, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

4 participants