Details
-
New Feature
-
Resolution: Fixed
-
Minor
-
2.6
-
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE
Description
A new option for downloading all the course contents will be added in the course content section.
This option will download sequentially all the resources and activities that require file downloading (like SCORM) in the app using a download process.
All the resources downloaded via this process will be available offline. For resources that are currently downloaded this option will force the download again only if the resource was updated in the server.
Download process differences between Android and iOs:
In iOs (iPhone, iPad) if the app goes to background the downloads are frozen. (This is something that we can’t control, is done automatically by the operating system)
In Android, even if the app is in background the download continues.
Some things to consider:
- Previously to start downloading files, we should calculate the total download size and:
- * If the user is not connected via Wi-Fi and the download size is >= XMB? Display a confirm dialog so the user must confirm the download (indicating the approximate size)
- * If the user is connected via Wi-Fi and te download size is >= YMB? Display a confirm dialog so the user must confirm the download (indicating the approximate size)
- * In both cases, try to retrieve the remaining sdcard space and show warnings in case if it's not enough or very close to the download size
X and Y... what about 10MB for no Wi-Fi and 100MB for Wi-Fi?
Maybe we should display a download progress with %?
Attachments
Issue Links
- caused a regression
-
MOBILE-1324 Timemodified calculation is wrong in the new _downloadOrPrefetchPackage
-
- Closed
-
-
MOBILE-1375 Sections page is empty if a downloadable module doesn't return contents
-
- Closed
-