Skip to content

Notification icon #206

@salvatorebnt

Description

@salvatorebnt

I'm here to ask you how I can set the icon of the notification. The one up and left of it.
As you can see from the image i attached, there is a grey image and the app name.
Is it possible to replace those segments with a custom image?
I tried with icon property... But it doesnt show up
Here how i manage the notification:

    LocalNotifications.schedule(
        [{
            id: id,
            title: "data.title",
            //subtitle: data.subtitle,
            body: "data.body",
            at: new Date(new Date().getTime() + 1 * 1000),
            badge: 1,
            thumbnail: "res://logo",
            icon: "res://logo",
            notificationLed: new Color("yellow"),
            forceShowWhenInForeground: true
        }])
        .then(() => {
        })
        .catch(error => console.error("exception during schedule notification: " + error));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions