skip to Main Content

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.

2

Answers


  1. As per example code for flutter_launcher_icons you need to specify and provide values to certain params (generate, image_path, icon_size) while generating for Windows, Mac & Web

    flutter_launcher_icons:
      #  image_path: "assets/images/icon-128x128.png"
      image_path_android: "assets/images/icon-710x599-android.png"
      image_path_ios: "assets/images/icon-1024x1024.png"
      android: true # can specify file name here e.g. "ic_launcher"
      ios: true # can specify file name here e.g. "My-Launcher-Icon"
      adaptive_icon_background: "assets/images/christmas-background.png" # only available for Android 8.0 devices and above
      adaptive_icon_foreground: "assets/images/icon-foreground-432x432.png" # only available for Android 8.0 devices and above
      min_sdk_android: 21 # android min sdk min:16, default 21
      remove_alpha_ios: true
      background_color_ios: "#ffffff"
      web:
        generate: true
        image_path: "assets/images/icon-1024x1024.png"
        background_color: "#hexcode"
        theme_color: "#hexcode"
      windows: //**TODO: Make these changes** 
        generate: true
        image_path: "assets/images/icon-1024x1024.png"
        icon_size: 48 # min:48, max:256, default: 48
      macos:
        generate: true
        image_path: "assets/images/icon-1024x1024.png"
    

    Once you make these changes, run the command for generating launcher icons

    flutter pub get
    flutter pub run flutter_launcher_icons
    
    Login or Signup to reply.
  2. Write this dependency in dev_dependencies not in dependencies

    Like in this image.
    Also check the guide. flutter_launcher_icons

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search