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

Uploading big files makes the app crash (Android)

XMLWordPrintable

    • Hide
      1. Download a really big file in your device (I tested this with 500MB files, but you should check the max file upload in your server). You can download one from here.
        1. In Android or desktop, just download the file.
        2. In iOS, store the file in iCloud.
      2. Login in a Moodle site as admin and go to Site administration > Security > Site security settings. Set a big userquota (enough to upload the file from the previous step). Please notice that the server also defines a maximum upload size.
      3. In the app, login as a student and go to your private files.
      4. Click to upload a new file. 
        1. In Android or desktop, select the "File" option and select the file you downloaded in step 1.
        2. In iOS, select "More..." and select the file you downloaded in step 1 (it should be in "Recent" or in iCloud, depending on the iOS version).
      5. Check that the file is successfully uploaded. Please notice it can take a while (a 500MB file took around 4 minutes to read the file in an Android 7 phone).
      Show
      Download a really big file in your device (I tested this with 500MB files, but you should check the max file upload in your server). You can download one from here . In Android or desktop, just download the file. In iOS, store the file in iCloud. Login in a Moodle site as admin and go to Site administration > Security > Site security settings. Set a big userquota (enough to upload the file from the previous step). Please notice that the server also defines a maximum upload size. In the app, login as a student and go to your private files. Click to upload a new file.  In Android or desktop, select the "File" option and select the file you downloaded in step 1. In iOS, select "More..." and select the file you downloaded in step 1 (it should be in "Recent" or in iCloud, depending on the iOS version). Check that the file is successfully uploaded. Please notice it can take a while (a 500MB file took around 4 minutes to read the file in an Android 7 phone).
    • MOODLE_31_STABLE
    • MOODLE_36_STABLE
    • Moodle Mobile 3.6.0

      Reported in the forum:

      https://moodle.org/mod/forum/discuss.php?d=338239

      I was able to reproduce it in my device using a 500MB file. The problem comes when reading or writing the big file, it crashes the app. We don't have the path to the original file, so we cannot use cordova copy functions.

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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