flutter_launcher_icons icon indicating copy to clipboard operation
flutter_launcher_icons copied to clipboard

[BUG] On Android round icons are shown as white round with square icon inside

Open adminant opened this issue 3 years ago • 8 comments

:information_source: Info

Version: 0.9.2

:speech_balloon: Description

Icons on Android where round icons are used are shown as square icon encircled with white. But they should be all round.

:scroll: Pubspec.yaml

flutter_icons: image_path: "images/app_icon.png" android: true ios: true remove_alpha_ios: true

adminant avatar Jan 06 '22 11:01 adminant

I am having the same issue here. Did you find any solution?

ZacharyHandshoe avatar Jan 12 '22 03:01 ZacharyHandshoe

@ZacharyHandshoe I made round icons by hand, see workaround here: https://github.com/fluttercommunity/flutter_launcher_icons/issues/226#issuecomment-844172755 But it is partially acceptable solution, due to inability to regenerate icons automatically.

adminant avatar Jan 12 '22 08:01 adminant

image :'(

esDotDev avatar Feb 02 '22 17:02 esDotDev

It's not a bug. you need to make your icon follow https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive to make your icon scale correctly with different devices/android versions. Some have squares/circles/etc.

Square icon picture will always end up as picture in the middle of the android icon layout.

milcarzgrzegorz avatar Mar 11 '22 11:03 milcarzgrzegorz

@milcarzgrzegorz I ended up adding launcher, tab bar and notification icons using the Create App Icons with Image Asset Studio from your link. After some tweaking to the XMLs it all seems to work fine in different API versions.

So, this flutter_launcher_icons package is only useful for iOS. Or did I just not understand how to use it? xD

maganap avatar Jun 03 '22 10:06 maganap

Solid argument. I'd expect this package to at least not produce ugly square inside circle icons. Could be much more refined for android.

Some have squares/circles/etc.

Seems like a configuration issue. Could have more configuration fields in the .yml file to correctly generate a good-looking icon

ozgunozerk avatar Nov 03 '23 13:11 ozgunozerk

After a couple frustrating hours I found this tool: https://easyappicon.com/ I was done in a couple minutes, testing took most of the time For anyone going through the same

its-brianwithai avatar May 08 '24 20:05 its-brianwithai