MIUI forces colors changes when dark mode

Please provide the following:

  1. SDK Version: 39.0.3
  2. Platforms(Android/iOS/web/all): Android

When using MIUI 11 Dark Mode (xiaomi note 8 pro and others), bright colors become darker, for example, white becomes black, #FBB44A become a dark yellow version and so on, for what i could search, this occurs because MIUI force dark mode changes using android 10 force dark mode, this feature broke a lot of my app styles, setting userInterfaceStyle to “light” in app.json does nothing as well.

The only solution i found was editing styles.xml, ejecting my expo app is not an alternative, there is a solution ?

image on Left with white background becoming black,
top right wrong colors,
bottom right correct colors.

2 Likes

This is also happening in our app. Any workaround while it gets fixed? We also don’t want to eject

1 Like

unfortunately no…the second option in this print is the issue, i’ts a user hardware/configuration issue that expo unfortunately don’t have any workaround for what i could search and try, tell the user to deactivate this is the only current solution i could got without ejecting…

image

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.