Closed lukehutch closed 3 months ago
To configure Android 12+ (API 33) you must use the android_12
section.
Thanks, that works. Maybe the docs should be updated to more clearly indicated that this is needed for Android versions over 12, not just Android 12? Or maybe that should even be the default now, since it is very rare (especially in Flutter) to build apps for Android 11 or below, at this point.
Also, if I specify android_12
, I still have to specify the color
and/or image
for earlier Android versions, otherwise I get an error.
Maybe the user could just specify the minimum Android SDK version to build for, and then flutter_native_splash
could figure out what to build?
Excellent suggestion, thank you. I have been planning to rework the plugin to be Android 12+ first, and the feedback from you and others confirms this is needed.
Describe the bug
I run
flutter_native_splash:create
, using the lines inpubspec.yaml
shown below. This gives this output:I see that
drawable/background.png
is created in the correct background color, at 1x1 pixel.However, when I rebuild and run my app, the background stays white.
Configuration
Device (please complete the following information):
To Reproduce
As above, 100% reproducibility, but I can't share the project, sorry.
What can I do to debug this further?