fluttercommunity / flutter_launcher_icons

Flutter Launcher Icons - A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future. Maintainer: @MarkOSullivan94

Home Page:https://pub.dev/packages/flutter_launcher_icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Black screen on Samsung cellphone instead of white screen with icon in the middle?

Megatronicus opened this issue · comments

When I start the flutter app in the emulator it shows a white screen and the icon in the middle of the screen before going to splash screen and then the app. However on a Samsung phone a black screen shows instead of a white screen with the icon and then the splash shortened in time and then the app. On Xiaomi phone it works again normally white screen with the icon in the middle. I don't even know if this is connected to this library however it's the only library where I have that icon referenced. How do I remove that screen from even appearing? I would like it to go straight to splash screen and then the app. I don't need a white screen with the icon in the middle of the screen.

dev_dependencies:
flutter_test:
sdk: flutter

flutter_launcher_icons: ^0.13.1

flutter_launcher_icons:
android: "launcher_icon"
ios: true
image_path: "assets/superlike.png"
remove_alpha_ios: true
min_sdk_android: 21 # android min sdk min:16, default 21
web:
generate: true
image_path: "assets/superlike.png"
background_color: "#hexcode"
theme_color: "#hexcode"
remove_alpha_ios: true
windows:
generate: true
image_path: "assets/superlike.png"
icon_size: 48 # min:48, max:256, default: 48
remove_alpha_ios: true
macos:
generate: true
image_path: "assets/superlike.png"
remove_alpha_ios: true

Just looked up the Samsung phone I'm testing on and it's 7 years old, last software update 2022 and won't allow newer updates, says it's up to date. That could be the issue.