Describe the bug
The plugin documentation states:
Background color will be added in colors.xml and referenced in launch_background.xml.
However, this is not actually the case. In reality, a background.png file is created and loaded using <bitmap android:gravity="fill" android:src="@drawable/background"/>.
Configuration
flutter_native_splash:
ios: true
android: true
web: false
color: "#03030f"
image: "assets/images/splash.png"
android_12:
image: "assets/images/splash_circle.png"
color: "#03030f"
Device (please complete the following information):
- Device: [e.g. Android Pixel 7]
- OS: [e.g. Android 16]
To Reproduce
Steps to reproduce the behavior, using the example app:
- Set the config on the example app to
flutter_native_splash:
ios: true
android: true
web: false
color: "#03030f"
image: "assets/images/splash.png"
android_12:
image: "assets/images/splash_circle.png"
color: "#03030f"
- See
android/app/src/main/res/drawable/launch_background.xml


Additional context
We expect either the documentation to be updated or the implementation to be changed.
Currently, the method _createBackground from the iOS implementation is being used.
Describe the bug
The plugin documentation states:
However, this is not actually the case. In reality, a background.png file is created and loaded using
<bitmap android:gravity="fill" android:src="@drawable/background"/>.Configuration
Device (please complete the following information):
To Reproduce
Steps to reproduce the behavior, using the example app:
android/app/src/main/res/drawable/launch_background.xmlAdditional context
We expect either the documentation to be updated or the implementation to be changed.
Currently, the method _createBackground from the iOS implementation is being used.