Skip to content

[Bug]: On some Android devices the smallIconAccentColor is not respected #243

@zdraganov

Description

@zdraganov

What happened?

On a particular Android device I see that the smallIconAccentColor is not respected and it's always displayed white - Samsung Galaxy S23 Ultra, Android 14

I have the following setup in my app.config.js:

    [
      'onesignal-expo-plugin',
      {
        mode: getOneSignalMode(),
        smallIcons: ['./assets/ic_stat_onesignal_default.png'],
        largeIcons: ['./assets/ic_onesignal_large_icon_default.png'],
        smallIconAccentColor: '#279FD2',
      },
    ],

The image is 96x96, transparent, as per the requirements.

It works on other Android devices, but this one.

Any ideas?

Steps to reproduce?

1. Install onesignal-expo-plugin 2.0.3 and run on Samsung Galaxy S23 Ultra Android 14
2. Add an example small image in 96x96 size and set smallIconAccentColor
3. Send push notification from OneSignal dashboard
4. See background the small logo on the left

What did you expect to happen?

Background of the logo to be in the setted up color

OneSignal Expo SDK version

2.0.3

Platform

Samsung Galaxy S23 Ultra, Android 14

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions