I finally found some time to work on the promised update to the BB10 file plugin. It now supports the same file system roots structure as Android and iOS.
This is a complete re-write which uses the exec proxy rather than clobbering the window objects. It's still using the webkit FileSystem API under the hood, but has a few advantages over the previous implementation: 1. Ability to set HTML element src from FileEntry.toURL() regardless of file system 2. Ability to copy files between file systems (ie persistent to root for example) 3. resolveLocalFileSystemURI supports all file system types (persistent, temporary, root, local) All mobile-spec tests are passing, but I had to make one subtle change [1] to the tests. spec 89 and 90 were failing in sequence but not on their own. spec 88 writes a few extra bytes to the end of a file which is written to again in the next tests. Those bytes show up (I think correctly) in the tests which slice past the end of the file. I have a pull request for this up on GitHub [2]. I will leave it up for a few days to give people a chance to review it. In the meantime, I will test this with the rest of the plugins and see if I can dig up more info on the FileReader problem. Thanks, Bryan [1] https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=blobdiff;f=autotest/tests/file.tests.js;h=e9d57885796bddeb5fe8a14e217a4cc9a81b5c51;hp=13ab2355494849419347c91226e3fdcdb2b57821;hb=49ecd9d00484a4a437524ff2cb6fd2e87a869013;hpb=5347f9f1e09224710c98c6bd9c3c143c833d018c [2] https://github.com/apache/cordova-plugin-file/pull/44