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

$mmFS.calculateFreeSpace not working in iOS

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 2.0
    • iOS
    • Hide

      Since we don't have the settings addon yet it's not easy to test. There are two different ways:

      1. Manually
      Modify the code to call this function and write the result in the console or use an alert (please notice you need to wait for ready event). Install the app in an iOS device and check that the output value is not 0.

      2. With settings
      Merge this code with the settings addon, install the app on a real device and check that the free space on an iOS device is not 0.

      Show
      Since we don't have the settings addon yet it's not easy to test. There are two different ways: 1. Manually Modify the code to call this function and write the result in the console or use an alert (please notice you need to wait for ready event). Install the app in an iOS device and check that the output value is not 0. 2. With settings Merge this code with the settings addon, install the app on a real device and check that the free space on an iOS device is not 0.
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      This function seems to work in Android, but it doesn't in iOS (returns 0).

      In this StackOverflow post a solution is provided, but it makes you modify the plugin's code.

      We should think what to do with this. If we don't want to use the solution above we might need to implement a solution like MM1: use window.requestFileSystem until we find the right size.

            dpalou Dani Palou
            dpalou Dani Palou
            Frédéric Massart Frédéric Massart
            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.