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

Allow uploading files using the new "Files" app in iOS

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.2
    • Fix Version/s: 3.4.0
    • Component/s: File system, iOS
    • Labels:
    • Testing Instructions:
      Hide
      1. Install the app in a device with iOS 11.
      2. Go to private files and click to add a file. Check that you see a "More" option.
      3. Click this option and check that you can upload using the different options displayed: take picture or video, photo album, browse. In browse, check that you can upload both a local file and a file from iCloud.
      4. Now install the app in a device with iOS 9 or 10. Check that you still see the "More" option, and clicking it displays an "iCloud" option instead of "Browse". Check that you can upload a file from iCloud.
      5. Finally, install the app in a device with iOS 8. Check that you don't see the "More" option.
      Show
      Install the app in a device with iOS 11. Go to private files and click to add a file. Check that you see a "More" option. Click this option and check that you can upload using the different options displayed: take picture or video, photo album, browse. In browse, check that you can upload both a local file and a file from iCloud. Now install the app in a device with iOS 9 or 10. Check that you still see the "More" option, and clicking it displays an "iCloud" option instead of "Browse". Check that you can upload a file from iCloud. Finally, install the app in a device with iOS 8. Check that you don't see the "More" option.
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Sprint:
      Moodle Mobile 3.4.0

      Description

      iOS 11 introduced a Files app that allows navigating through local files and iCloud files. We should allow using this app to upload files to Moodle.

      The only way I found to use this is using a 'input type="file"' form element. This displays a new submenu with several options: Take Photo or Video, Photo Library and Browse (this one opens the Files app). This means we'll have duplicated options in our app's menu and the system one, I didn't find any better solution.

      I noticed that in iOS 10, using an input file displayed an iCloud option that allowed uploading files from iCloud, so maybe we should display this option in previous iOS versions. However, I guess this option will only be shown if iCloud is enabled. I don't know if we can determine if iCloud is enabled or not.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Pau Ferrer Pau Ferrer
            Integrator:
            Juan Leyva Juan Leyva
            Tester:
            Juan Leyva Juan Leyva
            Participants:
            Component watchers:
            Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              30/Nov/17