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

Clicking a notification does not go to the right page in Android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.2
    • Fix Version/s: 3.6.0
    • Component/s: Push notifications
    • Labels:
    • Testing Instructions:
      Hide
      1. In the app in Android, login with a student in mobile 34.
      2. Kill the app.
      3. In web as teacher, grade an assignment for that student. You can just change the grade of an already graded assignment.
      4. Wait to receive a push notification. It usually took 1-2 minutes for me.
      5. Click the notification. Check that the app is opened displaying the list of notifications.
      Show
      In the app in Android, login with a student in mobile 34. Kill the app. In web as teacher, grade an assignment for that student. You can just change the grade of an already graded assignment. Wait to receive a push notification. It usually took 1-2 minutes for me. Click the notification. Check that the app is opened displaying the list of notifications.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle Mobile 3.6.0

      Description

      When the is closed and a push notification is received, the app is opened but does not go the right page, it always goes to the home page.

      It seems there is a race condition between the notification redirection and the loading of the current site when the app is launched.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            albert.gasset Albert Gasset
            Peer reviewer:
            Pau Ferrer
            Integrator:
            Juan Leyva
            Tester:
            Pau Ferrer
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jan/19