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

Receive notifications in background

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.2
    • Fix Version/s: None
    • Component/s: Push notifications
    • Labels:
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      In the current implementation we are only receiving notifications when the app is in foreground. In background, the code won't receive any notifications until users click on the notification.

      This is mostly not a problem because users see the notifications at the OS level anyways, and once they click on it everything works as expected. However, some situations are not ideal. For example, the notification count in the icon badge is not updated as reported in the forum.

      One solution would be to use content-available property, but this has been tested before and it wasn't working as expected in iOS.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            noeldemartin Noel De Martin
            Participants:
            Component watchers:
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: