genericUser
genericUser

Reputation: 7188

Flutter how to change app icon that generated using very_good cli (Very Good Venture)

I have generated my Flutter app using very_good_cli.

I'm using flutter_launcher_icon to change the default app icon.

I make sure that the old icon does not exist in the project, but still, the very_good_cli icon appears after reinstalling the app.

enter image description here

Where does it get this icon if it does not exist in the project?

What are the steps I need to take to change the app's icon that was generated by very_good_cli?

Upvotes: 1

Views: 2733

Answers (2)

ANDROID

Im using very good cli and then changing launch icon bit a challenge: but i manage:

  • issue was my device use round icon which is not present in my own generated icons
  • I suggest generate your icons here: https://easyappicon.com/, They offer a complete set of icons, like rounds etc..
  • Then replace all the file that similar inside the res folder located in main but this one depend on your flavor target.
  • flutter clean and flutter pub get
  • Thats it... whish you all the best

Upvotes: 2

genericUser
genericUser

Reputation: 7188

Updating App Icons for very_good_cli 📱

When you create a new project, it has a default launcher icon. To customize this icon, you can do it by using the following steps for each platform.

Android

  1. Review the Material Design product icons guidelines for icon design.

  2. In the [project]/android/app/src/main/res/ directory, place your icon files in folders named using configuration qualifiers. The default mipmap- folders demonstrate the correct naming convention.

  3. In AndroidManifest.xml, update the application tag’s android:icon attribute to reference icons from the previous step (for example, <application android:icon="@mipmap/ic_launcher" ...).

  4. To verify that the icon has been replaced, run your app and inspect the app icon in the Launcher.

iOS

  1. Review the iOS App Icon guidelines.

  2. In the Xcode project navigator, select Assets.xcassets in the Runner folder. Update the placeholder icons with your own app icons.

  3. Verify the icon has been replaced by running your app using flutter run.

https://github.com/VeryGoodOpenSource/very_good_cli/blob/main/doc/very_good_core.md#updating-app-icons-

Upvotes: 2

Related Questions