Change Android push notification icon per notification

Please provide the following:

  1. SDK Version: 35.0.0 (using Node expo-server-sdk@3.3.0)
  2. Platforms(Android/iOS/web/all): Android

The docs (https://docs.expo.io/versions/v35.0.0/guides/push-notifications/#message-format) say the icon field is web-only and then lists it again as an Android specific field? Passing an image URL doesn’t seem to work for Android so I’m wondering if the docs are wrong and I’m supposed to use another field for Android or if it is truly web-only?

Thanks!

P.S. I know about app.json’s notification.icon field. I want to be able to change the icon with each push notification I send.

Hmm, I wonder if the “web only” implies it only works for expo web apps.

To my knowledge different icons for expo mobile are still a work in progress

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.