How to dynamically change notification icon?

I’m using the expo-server-sdk to send notifications from my nodejs server using the following snippet:

await messages.push({
    to: token,
    sound: 'default',
    body: `Your time sold for $${amount}!`,
    data: { withSome: 'data' },
  })

Is there a way to pass in a new icon to display in each notification request?

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