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

Group image isn't seen in push notifications in Android 9

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • DEV backlog
    • 4.0.0
    • Push notifications
    • Hide

      This issue should be tested in Android only.

      1. In the app, login in a Premium site using the staging airnotifier (I think master site is like this).
      2. Put the app in background.
      3. In web with another user, send an individual message to the user. Check that you receive a push notification and you can see the image of the user who sent the message.
      4. Send a message to a group where the app's user is present. Check that you receive a push notification and you can see the image of the user who sent the message.
      5. Put the app in foreground again.
      6. Send another message (either to the user or group). Check that you receive a notification and you can see the image of the user who sent the message.
      7. Now login in a Free site. 
      8. Repeat steps 2-3 with the Free site. Check that you receive the push notification but it doesn't display the image.
      9. Repeat steps 5-6 with the Free site. Check that you receive the notification but it doesn't display the image.
      Show
      This issue should be tested in Android only. In the app, login in a Premium site using the staging airnotifier (I think master site is like this). Put the app in background. In web with another user, send an individual message to the user. Check that you receive a push notification and you can see the image of the user who sent the message. Send a message to a group where the app's user is present. Check that you receive a push notification and you can see the image of the user who sent the message. Put the app in foreground again. Send another message (either to the user or group). Check that you receive a notification and you can see the image of the user who sent the message. Now login in a Free site.  Repeat steps 2-3 with the Free site. Check that you receive the push notification but it doesn't display the image. Repeat steps 5-6 with the Free site. Check that you receive the notification but it doesn't display the image.
    • MOODLE_400_STABLE
    • Moodle App 4.0

    Description

      In branded apps, when a push notification for a group is received, the image isn't displayed in Android 9, it displays the first letter of the user that sent the message instead.

      In Android 9, the image of the user that sent the message in the group is displayed instead of the group message. Since we don't have that image, Android replaces it with the first letter of the name. We need Moodle to send that image to Airnotifier so the app can display it.

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              dpalou Dani Palou
              Noel De Martin Noel De Martin
              Noel De Martin Noel De Martin
              Juan Leyva Juan Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                22/Apr/22