Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS transparent borders issue #62

Open
17twenty opened this issue Nov 14, 2018 · 5 comments
Open

iOS transparent borders issue #62

17twenty opened this issue Nov 14, 2018 · 5 comments

Comments

@17twenty
Copy link

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

@MarkOSullivan94
Copy link
Collaborator

Sounds like a duplicate of this: #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.

@guyzk
Copy link

guyzk commented Dec 26, 2018

Same thing happens to me...

@abraham
Copy link
Contributor

abraham commented Dec 26, 2018

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

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

@guyzk
Copy link

guyzk commented Dec 26, 2018

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...

@abraham
Copy link
Contributor

abraham commented Dec 26, 2018

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

@MarkOSullivan94 MarkOSullivan94 changed the title Oddness when generating iOS icon iOS transparent borders issue May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants