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.

  1. I erased the app
  2. restarted the simulator
  3. 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

Share:
1,154
Jeff Andrews
Author by

Jeff Andrews

Updated on December 15, 2022

Comments

  • Jeff Andrews
    Jeff Andrews over 1 year

    I've replaced all my icon assets in my XCode runner project, both AppIcon, and LaunchImage. However, the default flutter icon still appears when I swipe up in iOS to show the opened apps. Is there another place that I need to look for where the default icon is being used? enter image description here

    enter image description here