flutter_native_splash
flutter_native_splash copied to clipboard
Theme.AppCompat theme (or descendant) with this activity
I get this error on some models OPPO CPH1909 OPPO A5 Motorola WOOD Vivo 1811 HUAWEI Honor 7A
And after a while of researching, I found out the reason is that the Theme is in use
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
...
</style>
I changed it
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowNoTitle">true</item>
<item name="android:windowActionBar">false</item>
<item name="windowActionBarOverlay">true</item>
...
</style>
and it worked for me