flutter_native_splash icon indicating copy to clipboard operation
flutter_native_splash copied to clipboard

[BUG] Flutter Native Splash Show Two Images

Open biondiBagasta opened this issue 1 year ago • 1 comments

native_splash My Setting :

flutter_native_splash:
  color: "#ffffff"
  color_dark: "#ffffff"
  image: assets/splash-screen.png
  image_dark: assets/splash-screen.png
  branding: assets/splash-screen.png
  branding_dark: assets/splash-screen.png
  android: true
  ios: false
  web: false
  android_gravity: fill
  android_12:
    image: assets/splash-screen.png
    icon_background_color: "#ffffff"
    image_dark: assets/splash-screen.png
    icon_background_color_dark: "#ffffff"

biondiBagasta avatar Jan 24 '24 02:01 biondiBagasta

Try removing the branding parameters. I think those are causing your problem.

jonbhanson avatar Jan 24 '24 02:01 jonbhanson

Hi @jonbhanson, I may have a related issue.

On iOS , i have added a first splash, and then I changed the splash image: and run the create command again. Now, when I launch the app I see the old splash (while 200ms) and very quick the new splash.

I tried to delete my app and install it again. I also run :remove command.

Can this use case be linked to this issue ? If not, what can I do to fix this ?

flutter_native_splash:
  color: "#F5EC73"
  color_dark: "#F5EC73"
  image: assets/logo_transparent.png
  image_dark: assets/logo_transparent.png
  web: false
  android: true

Nico3652 avatar Jan 28 '24 12:01 Nico3652

@Nico3652 your problem sounds like the I see a flash of the wrong splash screen on iOS.

jonbhanson avatar Jan 28 '24 14:01 jonbhanson

Thanks I reboot my phone and it worked. The only thing I didn't try!

Nico3652 avatar Jan 28 '24 15:01 Nico3652