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

Tablet: When you tap on a push notification from a message, if you had previously opened a different conversation you see the content of the latest message but the selected conversation isn't updated

    XMLWordPrintable

Details

    • MOODLE_402_STABLE

    Description

      Hi,

      To reproduce this use a tablet:

      1. Log in on the app
      2. Tap on messaging, and open a previous conversation (in the case of the screenshot with 'User Test 3')
      3. Return to the Dashboard
      4. On a computer, log in on the same LMS with a different user, send a message to the user from step 1 (in the case of the screenshot with 'Admin user')
      5. On the tablet, verify you see the push notification of step 4
      6. Tap on the notification
      7. See that messaging is opened correctly and you can see the content of the message from step 4. Check that the previous user is still selected (in the case of the screenshot with 'User Test 3')
      8. Also, if you open the context menu all items are duplicated.

      To reproduce it in webapp (for development purposes):

      1. In the code, export the CorePushNotificationsDelegateService so it can be used from console.
      2. Make sure the browser size is big enough to be considered a tablet (tabs on the left).
      3. Go to messaging and open any conversation except the one you will use to simulate the push.
      4. In the console, execute this code replacing $SITEID and $CONVID:
        CorePushNotificationsDelegate.clicked( { notif: false, site: $SITEID, convid: $CONVID });

       

       

      Thanks!
      Isabel

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              isabelrenedo Isabel Renedo Rouco
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.