flutter_launcher_icons icon indicating copy to clipboard operation
flutter_launcher_icons copied to clipboard

[BUG] Background color doesnt work (android)

Open IndieRobert opened this issue 2 years ago • 3 comments

:information_source: Info

Version: e.g. v0.7.5

:speech_balloon: Description

Background color doesnt work (android)

:scroll: Pubspec.yaml

flutter_icons: android: true ios: true image_path: "assets/logo.jpg" adaptive_icon_background: "#27212f"

IndieRobert avatar Feb 14 '22 18:02 IndieRobert

Hey, I think when you want to use adpative_icon_background you also have to specify adpative_icon_foreground and the image you use as foreground should be a .png if it has transparent parts.

devj3ns avatar Feb 15 '22 08:02 devj3ns

https://github.com/fluttercommunity/flutter_launcher_icons/issues/306

iapicca avatar Feb 16 '22 07:02 iapicca

I have the same issue with emulator Android emulator Pixel 5 - API 30 and a real device Device: Galaxy S10e Android 12

dev_dependencies:
  flutter_launcher_icons: "^0.9.3"

flutter_icons:
  android: true
  ios: true
  image_path: "assets/icon/appiconfg.png"
  adaptive_icon_background: "#40A7E3"
  remove_alpha_ios: true

It also doesn't work if I specify adpative_icon_foreground and if I set an image patch for adaptive_icon_background I've tried many different combinations of settings.

romantitov avatar Aug 01 '22 15:08 romantitov