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

Implement the Cordova FileAPI to support usage of the file system in the dev. browser

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7
    • 2.7
    • Emulation
    • Hide
      1. bower install
      2. Install the app in an Android and iOS device and check that filesystem is not broken. You can add an alert to $mmEmulatorManager#loadHTMLAPI to verify that the HTML API isn't being loaded in real devices.
      3. Start Chrome/Chromium with the flag --allow-file-access-from-files.
      4. Check that you can download files in browser. Open a downloaded resource (page, imscp, ...) and check that the URL used uses filesystem: protocol. You can also check that you can open it in offline.

      NOTE: For some reasons PDFs can't be seen using the browser PDF viewer. I manually downloaded them and I could open them by using a native viewer, maybe it's something related to the encoding.

      Show
      bower install Install the app in an Android and iOS device and check that filesystem is not broken. You can add an alert to $mmEmulatorManager#loadHTMLAPI to verify that the HTML API isn't being loaded in real devices. Start Chrome/Chromium with the flag --allow-file-access-from-files. Check that you can download files in browser. Open a downloaded resource (page, imscp, ...) and check that the URL used uses filesystem: protocol. You can also check that you can open it in offline. NOTE: For some reasons PDFs can't be seen using the browser PDF viewer. I manually downloaded them and I could open them by using a native viewer, maybe it's something related to the encoding.
    • MOODLE_27_STABLE
    • MOODLE_27_STABLE

      In MM1 we supported the Cordova FileAPI natively in the browser, we should implement a mock for the Cordova library to use the native browser FileAPI.

      This will allow us to speed-up the development of new features that uses the File API like the SCORM module

            dpalou Dani Palou
            jleyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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