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

[BUG] Alpha Chanel in PNGs for iOS #375

Closed
elzahaby opened this issue Jul 17, 2022 · 3 comments
Closed

[BUG] Alpha Chanel in PNGs for iOS #375

elzahaby opened this issue Jul 17, 2022 · 3 comments

Comments

@elzahaby
Copy link

elzahaby commented Jul 17, 2022

ℹ️ Info

Version: 0.9.3

💬 Description

The app icons created for iOS seem to always have the alpha Chanel enabled when using PNGs, which is not allowed for App Store upload. The Icon must have no transparency.

📜 Pubspec.yaml

name: achievy
description: Achievy helps you beating procrastination.

publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.2+6

environment:
  sdk: ">=2.15.1 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_lints: ^1.0.0
  flutter_launcher_icons: "^0.9.2"


flutter_icons:
  ios: true
  image_path: "assets/icon/icon.png"

flutter:

  uses-material-design: true
@RatakondalaArun
Copy link
Contributor

RatakondalaArun commented Jul 23, 2022

Hi @elzahaby You can disable the alpha channel with remove_alpha_ios

flutter_icons:
  ios: true
  image_path: "assets/icon/icon.png"
  remove_alpha_ios: true # disables alpha channel

This option was added in v0.9
we need to update docs

@RatakondalaArun
Copy link
Contributor

This issue is resolved in v0.9.0
closing this as duplicate of #253

@solomonium
Copy link

I added that flag to disable the alpha but still got same error.. how else can I go about it please

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

3 participants