firebase-js-sdk
firebase-js-sdk copied to clipboard
Notification does not show icon.
[REQUIRED] Describe your environment
- Operating System version: macOs 12.3
- Browser version: None
- Firebase SDK version: v10.2.0
- Firebase Product: FCM (auth, database, storage, etc)
[REQUIRED] Describe the problem
Steps to reproduce:
Icon passed via notification does not show on device. Notification itself works.
Notification triggered via test firebase UI works and shows correct image.
Relevant Code:
await messaging.sendToDevice(token, {
data: data,
notification: { ...notification, icon: 'https://synthetify.io/icons/sny.png' },
})
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hi @NorbertBodziony, thanks for reaching out. I was able to reproduce the behavior. Let me check what we can do for this issue or bring someone here that can provide more context about it. I’ll update this thread if I have any information to share.
I've added this to our internal tracker (b/241885017).