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] Trouble generating app icons #73

Closed
Bakri-Alkhateeb opened this issue Jan 7, 2022 · 5 comments
Closed

[BUG] Trouble generating app icons #73

Bakri-Alkhateeb opened this issue Jan 7, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Bakri-Alkhateeb
Copy link

ℹ️ Info

Version: 2.8.0

💬 Description

I am trying to bundle a flutter app but the msix package is having trouble generating app icons when I provide the image path

the image is 500px by 500px (so it's more than the minimum recommended size) and it's a png image with transparent background

📜 Pubspec.yaml

name: warehouses_dashboard
description: Drug Warehouses Dashboard
publish_to: 'none'
version: 1.0.0+1

environment:
sdk: ">=2.12.0 <3.0.0"

dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
http: ^0.13.4
flutter_bloc: ^7.3.3
shared_preferences: ^2.0.11
equatable: ^2.0.3
intl: ^0.17.0
url_launcher: ^6.0.17
barcode_scan2: ^4.2.0
path_provider: ^2.0.8
dio: ^4.0.4
file_picker_cross: ^4.5.0
device_info: ^2.0.3
jwt_decoder: ^2.0.1
flutter_staggered_animations: ^1.0.0
page_transition: ^2.0.4
hive: ^2.0.5
bitsdojo_window: ^0.1.1+1
dartz: ^0.10.1
dropdown_search: ^2.0.1
photo_view: ^0.13.0
printing: ^5.6.6
fl_chart: ^0.40.6
uuid: ^3.0.5
crypto: ^3.0.1

dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: ^0.9.2
flutter_icons: ^1.1.0
build_runner: ^2.1.7
hive_generator: ^1.1.1
msix: ^2.8.0
image: ^3.1.0

msix_config:
display_name: Pharmart Warehouses
publisher_display_name: Bakri Alkhateeb
identity_name: Pharmart-Warehouses
msix_version: 1.0.0.0
logo_path: C:/Users/Bakri Alkhateeb/Desktop/Programs/Pharmart/logo.png
capabilities: 'internetClient,picturesLibrary'
architecture: x86

flutter_icons:
android: false
ios: false
windows: true
image_path: "assets/images/logo.png"

flutter:

uses-material-design: true

assets:
- assets/images/

fonts:
- family: Cairo
fonts:
- asset: assets/fonts/Cairo.ttf
- family: Audiowide
fonts:
- asset: assets/fonts/Audiowide.ttf

@YehudaKremer
Copy link
Owner

Hello @Bakri-Alkhateeb

Can you please paste here the logs and the image for me to test

@Bakri-Alkhateeb
Copy link
Author

@YehudaKremer There are no special logs, just the percentage of packaging the app, and when it reaches the generating icons step it fails and uses the default icons.

this is the image:

logo

@YehudaKremer
Copy link
Owner

@Bakri-Alkhateeb hey
I publish new version (2.8.1) please check if it resolve this problem.

@YehudaKremer YehudaKremer reopened this Jan 9, 2022
@YehudaKremer YehudaKremer added the bug Something isn't working label Jan 9, 2022
@YehudaKremer YehudaKremer self-assigned this Jan 9, 2022
@Bakri-Alkhateeb
Copy link
Author

@YehudaKremer Okay, thanks. I'll try it right now

@Bakri-Alkhateeb
Copy link
Author

@YehudaKremer Yes, it worked now. Thank you.

@Bakri-Alkhateeb Bakri-Alkhateeb changed the title [BUG] [BUG] Trouble generating app icons Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants