Closed santo122 closed 9 months ago
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
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
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