EDIT: I have deleted all the icons generated by the library and tried @Liam's suggestion, ending up with a proper launcher app icon but NO background state icon at all. Photo attached.
Original Post
Lately I have changed my flutter app launcher icon using flutter_launcher_icons package, and everything seems to work just fine, just one problem:
The launcher icon and the backgrounded state icon on iOS devices are different.
Also worth mentioning the fact that the background state icon is an icon that I have perviously used for the launcher app icon, but changed it to the current one, and deleted the relevant image from the project.
The implementation:
I haven't used any config file, just added the proper dependency and wrote the following lines in pubspec.yaml:
flutter_icons:
android: true
ios: true
image_path: "assets/images/logo3.jpeg
Finishing with running the following command in terminal:
$ flutter pub run flutter_launcher_icons:main
I have tried flutter clean and rebuild, tried to re-install the app, and also changing the icon and re-running
$ flutter pub get
$ flutter pub run flutter_launcher_icons:main
I have looked all over the web, and it seems no one experience that kind of issue, any help would be much appreciated.
Thanks.
Photos to get the idea:
Yesterday I had the same problem. Here is how I fixed the app icon on ios:
appicon.coyour project>ios>Runner>Assets.xcassetsAppIcon.appiconsetthe unzipped directory>Assets.xcassets>AppIcon.appiconset>_AppIcon.appiconsetAssets.xcassetsdirectoryAppIcon.appiconsetto the other explorer tab where you already are insideyour project>ios>Runner>Assets.xcassetsIf you don't understand something just write a comment
Hope it helps!