Push notification icon not working

  1. SDK Version: 41.0.1
  2. Platforms(Android/iOS/web/all): Android

Searched SO, this forum and Google but I see this question posted a lot but never answered: I am using Expo notifications to send push messages and I am trying to make the icon be my app icon but I can’t seem to get that to work (testing on Android). See attached image.

app.json:

{
  "expo": {
    ...
    "notification": {
      "icon": "./assets/adaptive-icon.png",
      "iosDisplayInForeground": false,
      "androidMode": "collapse",
      "androidCollapsedTitle": "#{unread_notifications} new interactions"
    }
  }
}

Note that server-side I am using Expo’s REST API to send the actual push messages with to, title and body populated.

1 Like

I’m having the same issue. For me it’s just white
Screen Shot 2021-07-22 at 12.22.16 PM

According to this post it can only be done on a standalone app, not in Expo Go:

Yes you need to have a standalone app as in Expo Go it doesn’t work.
What I missed (but fixed now, fyi for who is reading this) is that you must make a greyscale (or all white) an 96x96 with a transparent background.