openedx / openedx-app-ios

The mobile app for iOS for the Open EdX Platform.
Apache License 2.0
20 stars 15 forks source link

[iOS] Downloaded Videos Exist in Documents Directory but App Fails to Indicate Availability #458

Closed shafqat-muneer closed 2 months ago

shafqat-muneer commented 3 months ago

Steps to reproduce

Description of the Issue

If a user begins bulk downloading videos or section-level downloads but stops partway through, you will find that the downloaded videos are saved in the Documents directory. However, there is no indication within the application that these videos are available. These videos should either be deleted from the Documents directory or made visible in the application as available for offline use. Currently, there is no indication at the sub-section level regarding their availability.

  1. Start bulk download videos from Download to device switch or from section level download button.
  2. After few minutes, stop downloading by tapping cross button.
  3. You will find that some videos will present in Documents directory but there is no any indication in application that videos are available to use in offline mode.

Demo Video:

https://github.com/openedx/openedx-app-ios/assets/11990137/105ee3cc-c261-4b3c-a12e-f53fe29cfcc0

Outcome

Expected Behavior:

If a user begins bulk downloading videos or section-level downloads but stops partway through, then these videos should either be deleted from the Documents directory or made visible in the application as available for offline use. Currently, there is no indication at the sub-section level regarding their availability.