fluttercommunity / flutter_launcher_icons

Flutter Launcher Icons - A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future. Maintainer: @MarkOSullivan94

Home Page:https://pub.dev/packages/flutter_launcher_icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Can't refresh icon

Spicciani opened this issue · comments

ℹ️ Info

Version: e.g. v0.13.1

I have successfully created the icon with this yaml

flutter_launcher_icons: ^0.13.1

flutter_launcher_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon/icon_name.png"
min_sdk_android: 21

Bu now I have to change the icon and launching again "flutter pub run flutter_launcher_icons:main" do not update the icon and remain the same.

Same issue

Try using flutter_launcher_icons.yaml instead of putting the config in pubspec.yaml

  1. flutter pub run flutter_launcher_icons:generate
  2. fill in config
  3. flutter pub run flutter_launcher_icons