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

If notification tab has been opened before, notifications are marked as read when a push is received

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      This issue only needs to be tested in 1 device.

      1. In the app, login in a site with push notifications configured.
      2. Open the notifications tab.
      3. With that tab still open, send a push notification to the user (not a message or contact request). E.g. you can award a badge to the user.
      4. In the app, check that you receive a push notification and the list of notifications is automatically refreshed to display the last notification.
      5. Now change the tab.
      6. Send a new push notification to the user. 
      7. In the app, check that you receive a push notification and you see a "1" in the notifications tab.
      8. Now select the notifications tab again. Check that the list of notifications is automatically refreshed to display the last notification.
      Show
      This issue only needs to be tested in 1 device. In the app, login in a site with push notifications configured. Open the notifications tab. With that tab still open, send a push notification to the user (not a message or contact request). E.g. you can award a badge to the user. In the app, check that you receive a push notification and the list of notifications is automatically refreshed to display the last notification. Now change the tab. Send a new push notification to the user.  In the app, check that you receive a push notification and you see a "1" in the notifications tab. Now select the notifications tab again. Check that the list of notifications is automatically refreshed to display the last notification.
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Sprint:
      Moodle App 3.7.1

      Description

      If notification tab has been opened before, notifications are marked as read when a push is received (even if the tab is no longer active). The notifications page is still running, so it reloads the list when a push is received and it thinks the notifications has been read.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                30/Aug/19