schulcloud-flutter icon indicating copy to clipboard operation
schulcloud-flutter copied to clipboard

Offline files

Open MarcelGarus opened this issue 5 years ago • 1 comments

Closes: #60

Makes files available offline. When clicking on a file, it's downloaded only if necessary. Files that have already been downloaded, have an offline pin next to them: image Clicking on a downloaded file opens it. For now, files don't open automatically after they are downloaded and the pin doesn't appear when the download completed but only when revisiting the screen. Both of these limitations stem from the difficulty of detecting the finishing of a download. This can be easily resolved once the flutter_downloader provides an API with Futures instead of callbacks on other isolates, which I'm working on: https://github.com/fluttercommunity/flutter_downloader/issues/256

MarcelGarus avatar Mar 18 '20 16:03 MarcelGarus

Flutter Analyze found 0 issues ✅

Generated by :no_entry_sign: Danger

github-actions[bot] avatar Mar 18 '20 16:03 github-actions[bot]