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 396 forks source link

flutter_icons has been deprecated please use flutter_launcher_icons instead in your yaml files #517

Closed santo122 closed 9 months ago

santo122 commented 1 year ago

admin@MAC-RT-04 r-pay-app % flutter pub run flutter_launcher_icons -f pubsoec.yaml Deprecated. Use dart run instead. ════════════════════════════════════════════ FLUTTER LAUNCHER ICONS (v0.13.1)
════════════════════════════════════════════

⚠ Warning: flutter_icons has been deprecated please use flutter_launcher_icons instead in your yaml files • Creating default icons Android • Adding a new Android launcher icon

WARNING: Icons with alpha channel are not allowed in the Apple App Store. Set "remove_alpha_ios: true" to remove it.

• Overwriting default iOS launcher icon with new icon No platform provided

✓ Successfully generated launcher icons

mundadapurva commented 12 months ago

I would like to work on this one. Please assign me this issue.

pumano commented 10 months ago

you use old

flutter_icons:

inside pubspec

when you change to:

flutter_launcher_icons:

error has gone

MarkOSullivan94 commented 9 months ago

admin@MAC-RT-04 r-pay-app % flutter pub run flutter_launcher_icons -f pubsoec.yaml Deprecated. Use dart run instead. ════════════════════════════════════════════ FLUTTER LAUNCHER ICONS (v0.13.1) ════════════════════════════════════════════

⚠ Warning: flutter_icons has been deprecated please use flutter_launcher_icons instead in your yaml files • Creating default icons Android • Adding a new Android launcher icon

WARNING: Icons with alpha channel are not allowed in the Apple App Store. Set "remove_alpha_ios: true" to remove it.

• Overwriting default iOS launcher icon with new icon No platform provided

✓ Successfully generated launcher icons

This is the expected behaviour and as @pumano says you can update your pubspec.yaml to use flutter_launcher_icons instead to get the message to go away

cyberpwnn commented 8 months ago

It doesnt go away

Katekko commented 5 months ago

@cyberpwnn you are thinking the line that you need to change is in dependencies, but its in under this.

Here:

flutter_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/launcher/icon.png"
  remove_alpha_ios: true

Your is probably like this one above, just change to

 flutter_launcher_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/launcher/icon.png"
  remove_alpha_ios: true