-
Notifications
You must be signed in to change notification settings - Fork 347
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
syncfilesystem permission not recognized #597
Comments
Sounds like a bug, but one that won't be getting fixed :(. syncFileSystem is a super-powerful API, but turns out not one that can be efficiently implemented in Cordova. |
Hmmm... What are the limitations? I came across one note that syncFileSystem doesn't sync when the app isn't open, which seems like a reasonable limitation for many use cases. Of course I haven't been able to explore the limitations since I don't have it running. Would you have any guesses what version of cca it was working? With great optimism, I'll see if I can figure out the "cca prepare" issue. Maybe it will just work after that. =8-| |
I'm continuing to explore. I can't really find a good alternative to syncfilesystem. It may be infeasible for the general case but it seems like it will work for my use case. I took it out of the "STALE" list in the cca plugins list and compiled. Running on android gave me an error with ChromeStorage. I suspect this version dates prior to the refactor into individual repos on MobileChromeApps and needs some work. I found the syncFileSystem code back on Feb 10 in this repo: https://github.com/MobileChromeApps/mobile-chrome-apps/tree/master/chrome-cordova/plugins/chrome.syncFileSystem. Supposedly it was moved on Feb 11 into it's own repo. Would you be willing/able to provide the source (let me branch) from after the migration to its own repo? It would give me a starting point that presumably is further along than the Feb 10 version. Thanks so much. Dave |
It doesn't look like there's a way to get it back, but I don't believe there were any commits to it after it was split out. |
Good luck! |
Thanks for your quick response and confirming. For anyone interested in contributing to, following, or attempting to use a "branch" of syncFileSystem, I've started it here as its own cordova plugin: Please use that issue list to communicate about it: Note that it doesn't compile yet - cordova Filesystem interfaces have changed. But hopefully I'll find enough time to get it going quickly so I can get back to my project. :) |
Using cca 0.7.4 and node-js 0.10.36, I'm getting at 'cca prepare':
In case there is an issue with my manifest I tried syncDemo from here:
https://github.com/MobileChromeApps/mobile-chrome-app-samples/tree/master/syncDemo
and got the same error.
Here's the full output:
I tried forcing the plugin install with cca but it said don't do that:
What am I missing from the manifest? How to debug?
Thanks,
Dave
The text was updated successfully, but these errors were encountered: