I've asked this before but I'm still lost. I'm trying to upload my Flutter app to Microsoft Store but I keep getting '10.1.1.11 Inaccurate Representation - Icon' detail on certification report.
This is my pubspec.yaml file:
environment:
sdk: '>=2.19.2 <3.0.0'
dependencies:
flutter:
sdk: flutter
beautiful_soup_dart: ^0.3.0
http: ^0.13.5
html: ^0.15.0
chaleno: ^0.0.6
provider: ^6.0.0
accordion: ^2.5.1
simple_circular_progress_bar: ^1.0.2
window_size:
git:
url: https://github.com/google/flutter-desktop-embedding
path: plugins/window_size
flutter_launcher_icons: ^0.13.1
msix: ^3.13.2
flutter_launcher_icons:
android: true
image_path: "assets/logo/logoIcon.png"
windows: true
I don't know what to do anymore. Support sends me the icon (flutter logo) but they don't tell me where does it appear or where in the code it is triggered. I looked for the icon inside the project but I couldn't find anything like that, all the images in it are original.
On my first post, someone told me to change the 'flutter_launcher_icons' configuration but it did not change anything either.
I've finally done it
After a lot of changes in my pubspec.yaml I think the main problem was that some attributes were missing in my msix configuration. Just in case it does not work for you after changing the config, this is how my .yaml looks like right now:
dependencies:
flutter:
sdk: flutter
beautiful_soup_dart: ^0.3.0
http: ^0.13.5
html: ^0.15.0
chaleno: ^0.0.6
provider: ^6.0.0
accordion: ^2.5.1
simple_circular_progress_bar: ^1.0.2
window_size:
git:
url: https://github.com/google/flutter-desktop-embedding
path: plugins/window_size
msix_config:
display_name: (display_name)
publisher_display_name: (publisher_display_name)
identity_name: (identity_name)
msix_version: 1.0.11.0
publisher: (publisher)
store: true
logo_path: (logo_path) # WARNING THIS PATH IS FROM YOUR DISK, NOT FROM PROJECT, READ MSIX DOC FOR MORE INFO
trim_logo: false
dev_dependencies:
flutter_launcher_icons: ^0.13.1
msix: ^3.13.2
flutter_launcher_icons:
android: "ic_launcher"
ios: true
image_path: "assets/logo/logoIcon.png"
min_sdk_android: 21
windows:
generate: true
image_path: "assets/logo/app_icon.ico"
icon_size: 48
I hope it works for you too!