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] - Multitasking logo background color error #287

Closed
Macacoazul01 opened this issue Sep 14, 2021 · 18 comments
Closed

[BUG] - Multitasking logo background color error #287

Macacoazul01 opened this issue Sep 14, 2021 · 18 comments

Comments

@Macacoazul01
Copy link

ℹ️ Info

Version: e.g. v0.9.2

💬 Description

The background color of the app on the store/home menu is different than the one on the multitasking tab. The first one is white (ok), and the second is blue.

home
Inkedmenu_LI
multitask

📜 Pubspec.yaml

name: oioio
description: A new Flutter project.

publish_to: 'none' 

version: 1.0.0+1

environment:
  sdk: ">=2.15.0-96.0.dev <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:
 android: true
 ios: true
 image_path: "images/isotipo.png"
 remove_alpha_ios: true
 adaptive_icon_foreground: "#ffffff" 
flutter:
  uses-material-design: true
@Macacoazul01
Copy link
Author

@RatakondalaArun i'm still having this issue on 0.9.3 version

@RatakondalaArun
Copy link
Collaborator

RatakondalaArun commented Jun 30, 2022

Hi @Macacoazul01

It will be very helpful if you can provide me below details

android version:
your flutter_launcher_icons configs:
And a few screenshots if possible

@Macacoazul01
Copy link
Author

@RatakondalaArun android version: 10

The screenshots and configs are already in the issue.

I can generate a new project and send here if it helps

@Macacoazul01
Copy link
Author

Macacoazul01 commented Jun 30, 2022

It's relevant to say that the error happens on android 11 too (hadn't tested on other versions), on dev (emulator and real phone) and on production

@RatakondalaArun
Copy link
Collaborator

Thanks,

Since there were lot of changes in flutter after this issue is created, I think it would be better if we can check it with new project.

@Macacoazul01
Copy link
Author

It's exactly the same behavior, now with flutter 3.0.3.

Like i've said, i ran the project with 0.9.3 that you guys released this month and it's still happening

@RatakondalaArun
Copy link
Collaborator

Thank for the info, I will look into it as soon as possible

@Macacoazul01
Copy link
Author

@RatakondalaArun
erro.zip

@Policy56
Copy link

Policy56 commented Jul 5, 2022

Hi, i got the same problem on my apps
This issue is caused by Material 3 theme

@Macacoazul01
Copy link
Author

@Policy56 it was happening before material 3.
Did you fix on your app?

@Policy56
Copy link

Policy56 commented Jul 8, 2022

@Macacoazul01 , hi
No, this bug happens in Flutter 3.0.3 with Material 3

@Macacoazul01
Copy link
Author

@RatakondalaArun erro.zip

@Policy56 do you have any sample like this for your project running material 3 with the bug vs without material (and the bug)
maybe it'll help @RatakondalaArun

@Macacoazul01
Copy link
Author

@RatakondalaArun any expectations of this being fixed?

@RatakondalaArun
Copy link
Collaborator

I think this feature is out of scope for flutter_launcher_icons

I don't know which property is setting this but it got something to do with the flutter theme.

@Macacoazul01
Copy link
Author

Macacoazul01 commented Sep 19, 2022

@RatakondalaArun did you created an issue on flutter git?
If not, i'm gonna test here and create

Can you send me the sample code that generated this prints?

@RatakondalaArun
Copy link
Collaborator

I didn't create any issue at flutter repo
I used flex_color_scheme package to set the theme for my app

  static ThemeData light(BuildContext context) {
    return FlexThemeData.light(
      useMaterial3: true,
      scheme: FlexScheme.wasabi,
      subThemesData: const FlexSubThemesData(),
    );
  }

@Macacoazul01
Copy link
Author

I think this feature is out of scope for flutter_launcher_icons

I don't know which property is setting this but it got something to do with the flutter theme.

@RatakondalaArun changing the theme on the counter app already generated the problem, let's see what the team says about it

@Macacoazul01
Copy link
Author

@RatakondalaArun as flutter team stated, this is the expected behavior for android and they won't change it (even being different from ios).

The solution is to add the same background color of the logo to the color parameter of WidgetApp (MaterialApp, Cupertino...).

They agree that this should be on the docs (but like its a P4 issue i doubt it'll be done on the next months).

What do you think of enforcing this here on flutter_launcher_icons?

@Macacoazul01 Macacoazul01 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2022
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