Skip to content

How to change the notification's icon color  #61

Description

@n-ii-ma

I'm trying to change the color of the notification from the default one to a custom one but there doesn't seem to be any way of doing that.

return await VIForegroundService.getInstance().startService({
  channelId: 'location',
  id: 420,
  title: 'Location Tracking',
  text: 'Your GPS service is being used',
  icon: 'ic_small_icon',
        
  // I presumed that this would work but it doesn't
  color: '#b2eeff',
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions