How correctly set background color in android adaptive icon
See original GitHub issueHi! I want to set white color in my icon appication, but if i set these settings in app.json
"android": {
"package": "test.com",
"adaptiveIcon": {
"foregroundImage": "./assets/icon3.png",
"backgroundColor": "#FFF"
}
}
I get dark green icon (((
My icon3.png for test

My screenshot from android emulator:
icon3.png

Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Adaptive icons - Android Developers
Design adaptive icons · Provide two layers for the color version of the icon: one for the foreground, and one for the background....
Read more >[SOLVED] How to change back color to Android adaptive icons?
Hello, I am using the F7-CLI to create an android app. I figured out how to override my apps icon, however, Android's circle/round...
Read more >Implementing Adaptive Icons - Medium
In Android-O, the background should fill the adaptive icon mask. If you don't update to adaptive, your shortcut icon will be scaled down...
Read more >Adaptive Icons in Android - Steven Thewissen
In this scenario, we set the foreground drawable to the logo we just added and the background drawable to a color defined in...
Read more >Adaptive icon background not setting correctly - MSDN
Forms. I created a PNG with no background using Android Asset Studio and added it to my project within the respective DPI folders,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

solution is to use in your app.json
"primaryColor": "#FFFFFF",@JosiasBatista: https://docs.expo.dev/versions/latest/config/app/#adaptiveicon
if the background color isn’t working as expected for you then create a new issue and fill out the issue template