Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Push notifications
    • Hide

      IMPORTANT: You need to re-add the site in the app, sites already stored will cause problems. That's because in some cases the URL used to set the siteID was not the same as Moodle uses, so the site IDs don't match. Please look at this commit.

      1. Access the app as studentjuan in prototype 2.9 (both in the app and in browser).
      2. In browser, send a message to yourself while you have the app in foreground. Check that after a few seconds a notification is shown.
      3. Do the same again with the app in background. Check that the notification is shown too (should be shown faster).
      4. In both cases, check that clicking the notification sends you to the discussion list. The new message should be shown in the list.
      5. Do the same with a notification and check that clicking on it sends you to notification list.
      6. Logout in the app, access as another user and check that you still receive push notifications from studentjuan. If you click to a notification from studentjuan, the app should login you as studentjuan and redirect to the right state.
      Show
      IMPORTANT: You need to re-add the site in the app, sites already stored will cause problems. That's because in some cases the URL used to set the siteID was not the same as Moodle uses, so the site IDs don't match. Please look at this commit . Access the app as studentjuan in prototype 2.9 (both in the app and in browser). In browser, send a message to yourself while you have the app in foreground. Check that after a few seconds a notification is shown. Do the same again with the app in background. Check that the notification is shown too (should be shown faster). In both cases, check that clicking the notification sends you to the discussion list. The new message should be shown in the list. Do the same with a notification and check that clicking on it sends you to notification list. Logout in the app, access as another user and check that you still receive push notifications from studentjuan. If you click to a notification from studentjuan, the app should login you as studentjuan and redirect to the right state.
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      Migrate the current support for push notifications, including foreground and background notifications

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              jleyva Juan Leyva
              Juan Leyva Juan Leyva
              Juan Leyva Juan Leyva
              Juan Leyva Juan Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                31/Jul/15