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

File transfer in Android doesn't support redirects

XMLWordPrintable

    • Hide

      Test on Android and iOS.

      1. Create a label and embed the image: http://upload.wikimedia.org/wikipedia/en/3/30/Haine.jpg
      2. Access the course in the app.
      3. Verify that the image is displayed.
      4. Download the course and switch the device to offline.
      5. Refresh the page.
      6. Verify that the image is displayed.
      Show
      Test on Android and iOS. Create a label and embed the image: http://upload.wikimedia.org/wikipedia/en/3/30/Haine.jpg Access the course in the app. Verify that the image is displayed. Download the course and switch the device to offline. Refresh the page. Verify that the image is displayed.
    • Moodle Apps - 2024 i4.1, Moodle Apps - 2024 i4.2, Moodle Apps - 2024 i4.3

      When the file to download has a redirect, the file transfer downloads a file with 0 bytes. This works fine in iOS.

      Might be related to this issue:

      https://github.com/apache/cordova-plugin-file-transfer/issues/290

      This can be tested in school demo:

      • Junior mathematics course, there are some images in the General section description that aren't displayed in Android.
      • Class and Conflict in World cinema, there are some images in the General section description as well with the same issue (Android only).

            albert.gasset@moodle.com Albert Gasset
            dpalou Dani Palou
            Dani Palou Dani Palou
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 55 minutes
                55m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.