Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2461

Improve how embedded and linked files are handled in the app

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.0
    • Fix Version/s: None
    • Component/s: File system
    • Labels:
    • Affected Branches:
      MOODLE_35_STABLE

      Description

      Right now we only download big files if the user is in a WiFi connection. This means that if the user uses 3G and clicks a PDF link, the link will always be opened in browser (and this will force a download of the file). So we aren't downloading the file to save data, but we're forcing a new download every time the user clicks the file...

      Also, now that we have observers, it would be interesting to update the file URL if it's downloaded in background. external-content starts the download in background and uses the original URL meanwhile, it would be interesting to update the URL once the download finishes.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dpalou Dani Palou
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: