Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-1010

Migrate: Upload any type of file in iOS

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Upload add-on
    • Labels:
    • Testing Instructions:
      Hide

      To test this, the .plist file of the iOS project needs to be modified. Please look at the first comment on this issue.

      1. Install the app on an iOS device.
      2. Open a file with an external app (like Safari), click "Open with..." and choose "Moodle Mobile".
      3. When the app is resumed/started, it's going to try to upload the file. The behavior depends on the number of sites stored:
        • If there are no sites stored, check that an error message is shown.
        • If there's only one site stored, check that the file is uploaded to that site. If the file is higher than 5 MB or the device is using a limited network, a confirm message should be shown.
        • If there's more than one site stored, a view to choose the site should be shown. Click the site you want to upload the file to and check that the file is uploaded to that site. If the file is higher than 5 MB or the device is using a limited network, a confirm message should be shown.
      4. After a file is uploaded, check that the "My Files" list of that site is invalidated (and not the other sites).
      Show
      To test this, the .plist file of the iOS project needs to be modified. Please look at the first comment on this issue. Install the app on an iOS device. Open a file with an external app (like Safari), click "Open with..." and choose "Moodle Mobile". When the app is resumed/started, it's going to try to upload the file. The behavior depends on the number of sites stored: If there are no sites stored, check that an error message is shown. If there's only one site stored, check that the file is uploaded to that site. If the file is higher than 5 MB or the device is using a limited network, a confirm message should be shown. If there's more than one site stored, a view to choose the site should be shown. Click the site you want to upload the file to and check that the file is uploaded to that site. If the file is higher than 5 MB or the device is using a limited network, a confirm message should be shown. After a file is uploaded, check that the "My Files" list of that site is invalidated (and not the other sites).
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Pull Master Branch:

      Description

      We should migrate the feature to be able to upload any kind of file in iOS, sharing the file with Moodle Mobile 2. This is part of the upload plugin.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              dpalou Dani Palou
              Peer reviewer:
              Frédéric Massart Frédéric Massart
              Integrator:
              Juan Leyva Juan Leyva
              Tester:
              Juan Leyva Juan Leyva
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Jul/15