Aneesh Rao
Aneesh Rao
Hmm.. Right But we would still have to get rid of the dart:io, path and path_provider imports in the JSON implementation. In short, we'd need the JSON implementation to be...
So @renefloor, the main steps should be something like this - - Implement file_system for the web using IndexedDB to store the files (more specifically, the file content as blobs)...
@renefloor it'd be a bit more performant to store the json data from the json file using local storage but we could definitely use indexddb too.. `navigator.storage.estimate()` provides a way...
@renefloor, do you think we could 'auto migrate' to JSON? v4 would have the JSON implementation as the default but we'll have a dependency on sqflite to read the dB...
I think the best way would be to provide the option to auto migrate and also an indication if the migration has already been performed. Since v5 should come out...
@renefloor why doesn't `getSingleFile` return `FileInfo`? Shouldn't it do so to match other methods?
@renefloor , I am able to create something that would act as a 'file' but there's no way I can return an instance of `File` using indexedDB. So, do you...
@renefloor , so, the way `cross_file` on web works is that it needs a url to which it saves the file.. it's not easy to do this in indexedDB..I'd have...
The best solution I can think of is to extend and customize the `saveTo` method of `XFile` for the web. But we'd also have to disable the `XFile.fromData` constructor since...
I hope you've considered the degree of this change..`cross_file` supports much fewer operations and properties than the existing `file` package's implementation.