flutter_native_splash icon indicating copy to clipboard operation
flutter_native_splash copied to clipboard

Not showing splash screen on android 12

Open rbtsigma opened this issue 3 years ago • 10 comments

flutter_native_splash: image: ./assets/splash.png color: "#ffffff" color_dark: "#000000" image_dark: ./assets/splash_dark.png android_12: icon_background_color: "#ffffff" icon_background_color_dark: "#000000" web: false

// It works fine on the emulator , but not in my samsung S22, Thank You in Advance !

rbtsigma avatar Jul 01 '22 23:07 rbtsigma

// It works fine on the emulator , but not in my samsung S22, Thank You in Advance !

As stated in the readme:

There are a number of reports that non-Google launchers do not display the launch image correctly. If the launch image does not display correctly, please try the Google launcher to confirm that this package is working.

It sounds like in your case, the problem lies with the launcher used on your Samsung S22.

jonbhanson avatar Jul 03 '22 14:07 jonbhanson

so which launcher should users use ?

mimikayed avatar Jul 06 '22 11:07 mimikayed

so which launcher should users use ?

A Google launcher.

jonbhanson avatar Jul 06 '22 11:07 jonbhanson

I don't get it, I can do whatever it takes to make it work on my phone, But the thing is, when I put the app into the app store / play store, How am I supposed to tell the customers , Use google launcher, if You don't see the splash screen !!, sorry but It makes no sense to me

rbtsigma avatar Jul 08 '22 03:07 rbtsigma

@rbtsigma The splash screen should not be your main concern; it is merely for decoration. If - for some reason - you have put crucial logic into the splash screen, then it might be a good time to change it for the better. Either way, it still is a bug (of course), but I do not know whether it is fixable or not. Personally, I own a Xiaomi phone which does not have a 3rd party launcher on it (correct me if I am wrong here; maybe MIUI also provides its own launcher?) and it works fine! So, either this package needs to write some logic to fix the manufacturer's errors or the manufacturers should fix their bad logic at some point. The second option might be more beneficial for all of us

ThexXTURBOXx avatar Jul 08 '22 07:07 ThexXTURBOXx

A Google launcher.

Can you elaborate on this?

boldt avatar Jul 08 '22 14:07 boldt

Basically: Not a third-party one. Some manufacturers like to change the Look and Feel (LaF) of their respective OS. For this reason, they incorporate custom launchers. There are also unofficial ones like Nova Launcher (and many many more). A/The Google Launcher is just the official one that is incorporated in the Android System

ThexXTURBOXx avatar Jul 08 '22 15:07 ThexXTURBOXx

This is really not satisfaying answer ... A splashcreen libraries should work as expected on any device ... I had to add it manually for each device to do the work ( cause the package doesnt create android XML like we do in native android programmation for logo and background )

Meta-Ben avatar Jul 08 '22 19:07 Meta-Ben

Thank You, so much ,  I will try to do it that way !!!

Salu2 / Best Regards

Carlos Velázquez, RBT sigmaRobotics, softWare & Applied Robotics. Deo Juvante !!! En un mundo donde puedes ser lo que sea, se buena persona. In a world where You can be anything, Be Kind. On 8 Jul 2022 14:37 -0500, Benjamin Metaut @.***>, wrote:

This is really not satisfaying answer ... A splashcreen libraries should work as expected on any device ... I had to add it manually for each device to do the work ( cause the package doesnt create android XML like we do in native android programmation for logo and background ) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

rbtsigma avatar Jul 08 '22 19:07 rbtsigma

I had to add it manually for each device to do the work ( cause the package doesnt create android XML like we do in native android programmation for logo and background )

Can you detail on this? So this manual steps can be added to this library.

boldt avatar Jul 18 '22 13:07 boldt

@Happeal what did you add manually?

jonbhanson avatar Aug 07 '22 13:08 jonbhanson

Closing due to inactivity. Feel free to reopen if you still have trouble.

jonbhanson avatar Aug 14 '22 16:08 jonbhanson