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

iOS app stays loading forever if a site has a lot of calendar events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for integration review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.2
    • Fix Version/s: None
    • Component/s: Others
    • Labels:
    • Testing Instructions:
      Hide

      This issue should be tested both in Android and iOS.

      1. Login in a site that has a lot of calendar events in the next days (e.g. 200 events or so).
      2. Open the calendar. Check that the calendar loads fine.
      3. Open a day that has events and isn't in the past. Check that the events of the day load fine.
      4. Open an event that isn't in the past. Check that the event loads fine.
      5. Set a reminder for the event to trigger soon.
      6. Wait for the reminder to trigger. Check that you see a notification in the device.
      Show
      This issue should be tested both in Android and iOS. Login in a site that has a lot of calendar events in the next days (e.g. 200 events or so). Open the calendar. Check that the calendar loads fine. Open a day that has events and isn't in the past. Check that the events of the day load fine. Open an event that isn't in the past. Check that the event loads fine. Set a reminder for the event to trigger soon. Wait for the reminder to trigger. Check that you see a notification in the device.
    • Affected Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.9.3

      Description

      We do a lot of parallel calls to the local-notifications plugin. The plugin calls some functions of UNUserNotificationCenter and eventually those functions stop responding.

      This causes that every plugin using runInBackground stop working (including the sqlite one) because the local-notifications plugin blocks all threads.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              dpalou Dani Palou
              Peer reviewer:
              Noel De Martin
              Integrator:
              Juan Leyva
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: