You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the latest API to build an app, Android forces dark mode in some applications. This breaks the splash screen by changing the color of Animated.View component.
The only way to prevent that from happening is disabling forced dark mode.
android/app/src/main/res/values/styles.xml
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
//...
<item name="android:forceDarkAllowed">false</item> // <- add this
</style>
</resources>
The text was updated successfully, but these errors were encountered:
dav1app
changed the title
Forced Dark Mode breaks only the splash screen
Forced Dark Mode breaks colors on splash screen
Nov 26, 2020
When using the latest API to build an app, Android forces dark mode in some applications. This breaks the splash screen by changing the color of
Animated.View
component.The only way to prevent that from happening is disabling forced dark mode.
android/app/src/main/res/values/styles.xml
The text was updated successfully, but these errors were encountered: