Is there a way to store approximately 2GB of binary data (video files with ~600MB each) in Flutter web? I need to support web on both desktop and mobile devices.
I tried Localstorage (converting everything to List<int>
), but it caps out at a couple of MB. Drift seems to be based on Localstorage aswell. Best thing I found was Sembast, which uses IndexedDB, but even there I seem to be reaching the limits.
Maybe there's a work-around to access the file system?
Edit: I basically want to cache the videos, so they are available offline (so downloading and using FilePicker is not an option). I also considered using assets, but 2GB would be too much to download initially, even if I compress it.