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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.2
    • 3.9.3
    • Others
    • 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.
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • 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

              dpalou Dani Palou
              dpalou Dani Palou
              Noel De Martin Noel De Martin
              Juan Leyva Juan Leyva
              Isabel Renedo Rouco Isabel Renedo Rouco
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                30/Nov/20