jonbhanson / flutter_native_splash

Automatically generates native code for adding splash screens in Android and iOS. Customize with specific platform, background color and splash image.
https://pub.dev/packages/flutter_native_splash
MIT License
1.28k stars 200 forks source link

Issue setting background images for specific OS #652

Closed Dsoji closed 2 months ago

Dsoji commented 3 months ago

I tried setting up my splash screen for the different OS for the project I'm working on but I keep getting this error in terminal image

jonbhanson commented 3 months ago

I will push out an update soon that resolves this.

Dsoji commented 3 months ago

Alright thank you, can't wait

jonbhanson commented 3 months ago

No need to wait, I pushed out the update 3 days ago.

Dsoji commented 3 months ago

Checking out now, thank you

Dsoji commented 3 months ago

Still the same issue

jonbhanson commented 3 months ago

I was not able to reproduce this problem. When I specified the background_image_android parameter in the example project's pubspec.yaml, the create command completed fine. Can you provide a minimal project that demonstrates the problem?

Dsoji commented 3 months ago

Here is a new project i mage today and had the same issue: https://github.com/Dsoji/splashScreen image

Dsoji commented 3 months ago

Hi, where you able to test and see if you were having the same issue on the project

mainajonny commented 3 months ago

Issue still persists

john@MacBook-Pro flutterapp % dart run flutter_native_splash:create Building package executable... (1.6s) Built flutter_native_splash:create. ⚠️ The parameter "background_image_ios" was found in your flutter_native_splash config, but "background_image_ios" is not a valid flutter_native_splash parameter. john@MacBook-Pro flutterapp %

waslost0 commented 3 months ago

Same flutter_native_splash: ^2.3.10 ⚠️ The parameter "background_image_ios" was found in your flutter_native_splash config, but "background_image_ios" is not a valid flutter_native_splash parameter.

Sameer330 commented 3 months ago

I got the same issue, any solutions??

$ dart run flutter_native_splash:create
Building package executable... (7.3s)
Built flutter_native_splash:create.
⚠️ The parameter "background_image_ios" was found in your flutter_native_splash config, but "background_image_ios" is not a valid flutter_native_splash parameter.
jonbhanson commented 2 months ago

Version 2.3.12 will resolve this. Please update the version of flutter_native_splash in your pubspec.yaml and try again.