flutter_native_splash icon indicating copy to clipboard operation
flutter_native_splash copied to clipboard

Theme.AppCompat theme (or descendant) with this activity

Open smew-tech opened this issue 3 years ago • 0 comments

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

smew-tech avatar Jul 29 '22 02:07 smew-tech