flutter_native_splash icon indicating copy to clipboard operation
flutter_native_splash copied to clipboard

ios_content_mode: scaleAspectFill with no image results in a black splash screen

Open josh-burton opened this issue 10 months ago • 3 comments

Describe the bug

Given a configuration where the ios_content_mode is specified, but no image is specified, a black LaunchImage is created and the splash screen is black.

Configuration

  android_gravity: fill
  color: '#081B39'
  fullscreen: true

  ios_content_mode: scaleAspectFill

  # web
  web: false
  web_image_mode: cover

Device (please complete the following information):

  • iPhone
  • OS: iOS 17

To Reproduce Steps to reproduce the behavior, using the example app:

  1. Set the config on the example app to '...'
  2. Run in an emulator configured with '...'
  3. See error

Screenshots If applicable, add screenshots to help explain your problem. If in doubt, attach a screenshot.

Additional context Add any other context about the problem here.

josh-burton avatar Feb 19 '25 19:02 josh-burton

Sorry, I don't have time to fix this. Feel free to open a PR if you'd like, though.

jonbhanson avatar Feb 23 '25 14:02 jonbhanson

I'm happy to work on a PR, but should this be closed?

josh-burton avatar Feb 23 '25 19:02 josh-burton

I will reopen it. 👍

jonbhanson avatar Feb 23 '25 21:02 jonbhanson