Skip to content

Notification does not show icon. #6466

@NorbertBodziony

Description

@NorbertBodziony

[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' },
    })

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions