-
Notifications
You must be signed in to change notification settings - Fork 404
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
Adaptive icons solid color background not working #79
Comments
just checked your code you are not handling anywhere solid colors like suggested |
It is being handled here: https://github.com/fluttercommunity/flutter_launcher_icons/blob/master/lib/android.dart#L75 Strange that it's not being generated for you. I'll need to investigate. |
Done a bit of investigating and I'm having no issues here. Are you missing the adaptive_icon_foreground? I noticed it's not in your yaml_config, adaptive icons wont work unless there's a foreground icon with a transparent background (check example project which has a red house adaptive icon foreground icon). If you have a foreground in your config, check your device and make sure it supports adaptive icons. |
yes I was missing that adaptive_icon_foreground, but I didn't know it has relation to reading the adaptive_icon_background. Please be more clear with the docs. |
Can you provide code? I had exactly the same situation after 2 years and I didn't know both params needed to go together |
@MarkOSullivan94 The docs are really not clear. To be honest I still don't know what should be done there. |
the icon still has white background around it
ran couple of times flutter packages pub run flutter_launcher_icons:main
icons are not regenerated
The text was updated successfully, but these errors were encountered: