flutter_launcher_icons icon indicating copy to clipboard operation
flutter_launcher_icons copied to clipboard

iOS transparent borders issue

Open 17twenty opened this issue 6 years ago • 5 comments

I've got my pubspec.yml setup as follows:

...
dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_launcher_icons: "^0.6.1"

flutter_icons:
  image_path: "assets/logo.png" 
  android: true
  ios: true
  adaptive_icon_background: "#614ec6"

I run the command:

$ flutter packages pub run flutter_launcher_icons:main
Android minSdkVersion = 16
Creating icons Android
Overwriting default Android launcher icon with new icon
Overwriting default iOS launcher icon with new icon

The icon when it installs onto the iPhone however... well.. it has a black border. screen shot 2018-11-14 at 4 26 48 pm

How do I fix that from happening? I used the studio creator to generate it.

This is the original image: ic_launcher

17twenty avatar Nov 14 '18 05:11 17twenty

Sounds like a duplicate of this: https://github.com/fluttercommunity/flutter_launcher_icons/issues/36

Not entirely sure what is causing this. Would you be able to fork the project and update the example within the project with the asset your using? Would allow me to quickly test this out myself.

MarkOSullivan94 avatar Nov 16 '18 23:11 MarkOSullivan94

Same thing happens to me...

guyzk avatar Dec 26 '18 15:12 guyzk

Make sure your icon does not have any transparency around the edges.

https://stackoverflow.com/questions/26014461/black-border-on-my-ios-icon

abraham avatar Dec 26 '18 15:12 abraham

Make sure your icon does not have any transparency around the edges.

https://stackoverflow.com/questions/26014461/black-border-on-my-ios-icon

Thanks! That was the issue...

guyzk avatar Dec 26 '18 15:12 guyzk

@MarkOSullivan94 maybe the tool can try and detect transparent borders and show a warning to the user?

abraham avatar Dec 26 '18 16:12 abraham