Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
zdraganov opened this issue Mar 12, 2025 · 0 comments
Open
1 task done

Comments

@zdraganov
Copy link

zdraganov commented Mar 12, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant