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

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

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4.0
    • 3.3.2
    • File system, iOS
    • 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.
    • MOODLE_33_STABLE
    • MOODLE_34_STABLE
    • Moodle Mobile 3.4.0

      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.

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

              Created:
              Updated:
              Resolved:

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