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

Home Page:https://pub.dev/packages/flutter_launcher_icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

santo122 opened this issue · comments

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

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

you use old

flutter_icons:

inside pubspec

when you change to:

flutter_launcher_icons:

error has gone

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

commented

It doesnt go away

@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