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
https://pub.dev/packages/flutter_launcher_icons
MIT License
1.99k stars 393 forks source link

Remove Launcher Icons #446

Open ayechan-maung opened 1 year ago

ayechan-maung commented 1 year ago

Version: 0.9.0

How do I remove the launcher icon after activated? I removed the plugin name and assigned the file path from pubspec.yamal file. But it still has the icon on the first launch.

dev_dependencies: flutter_test: sdk: flutter

flutter_launcher_icons: "^0.9.0"

flutter_icons:

android: true

ios: true

image_path: "assets/icons/logo.png"

min_sdk_android: 21

We ask that you include your pubspec.yaml file as a common problem we have seen has been the pubspec.yaml file being incorrect

hicnar commented 1 year ago

Create a new project with the standard icons, move the existing code in there and apply the plugin in the CI tool right before you build and sign the executable for deployment/distribution. This way you can work with standard Flutter icons and change them to whatever you want right before they need to be changed. Do the same with the splash screen plugin if you use it. It opens a plethora of possibilities like you want a tiny "1.0.7 - Beta" badge on the icon or in your splash screen when exposing your project to beta testers? No problem!

hananifetheddine commented 1 month ago

in AndroidManifest.xml replace android:icon="@mipmap/launcher_icon"> by android:icon="@mipmap/ic_launcher">