Default Flutter icon shows in iOS when swiping up to show opened apps
1,154
Solution 1
flutter_launcher_icons
plugin in combination of phone restart (cause icon was cached in phone) was fix for me.
Solution 2
I had the same problem. I was running it in a simulator.
- I erased the app
- restarted the simulator
- Ran the program again and it was fixed.
Solution 3
You should use flutter_launcher_icons to properly format your app icon and make it propagate everywhere.
Copy paste your icon here: assets/icon/icon.png
Then in pubspec.yaml
:
dev_dependencies:
flutter_launcher_icons: "^0.7.3"
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon/icon.png"
Then in command line:
flutter pub get
flutter pub run flutter_launcher_icons:main
And you're good to go
Author by