flutter_native_splash icon indicating copy to clipboard operation
flutter_native_splash copied to clipboard

Feature request: Add settings in plist that led to hide status bar on IOS

Open JosephKalash opened this issue 9 months ago • 3 comments

Attention: If you open a bug report without sufficient details, it will be closed. Is your question related to Android 12? Please check the notes on Android 12 first (https://pub.dev/packages/flutter_native_splash#android-12-support).

Describe the bug

When generate splash screen for IOS, it adds settings in plist that led to hide status bar in splash screen and inside the app too.

		<key>UIViewControllerBasedStatusBarAppearance</key>
		<false/>
		<key>UIStatusBarHidden</key>
		<true/>

Configuration

flutter_native_splash:
  color: "#FFFFFF"
  android: true
  ios: true
  fullscreen: true
  image: "assets/images/splash_icon.jpg"
  android_12:
    color: "#FFFFFF"
    image: "assets/images/splash_icon.jpg"

Device (please complete the following information):

  • Device: any Iphone
  • OS: any IOS

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.

JosephKalash avatar Mar 23 '25 08:03 JosephKalash

I will not have time to implement this feature. It would have to come as a pull request.

jonbhanson avatar Apr 06 '25 15:04 jonbhanson

I don't know how it was labeled as a Feature request. This already exist in current package, but I think it isn't suitable or wrong behavior to hide status bar, as it will maintain this state even after splash screen, so the status bar will be hidden inside the app too. My request is to not add this setting in the plist file when generating the assets.

JosephKalash avatar Apr 26 '25 10:04 JosephKalash