I’ve tried Appearance.set({ colorScheme: 'light' });
and "userInterfaceStyle": "light"
but my app still forces white colors to black.
Question posted in React native
The official React Native documentation can be found here.
The official React Native documentation can be found here.
2
Answers
Think you need to look at your configuration. Per the docs in your app.json you should use:
and to validate there isn’t an issue it raises that you should install
expo-system-ui
and to validate wether there is an issue run the command:
There is some android devices forces applications to dark mode even you change through your app.json.It may disrupt application UI.
I recommend using expo-config-plugins to disable forceDarkAllowed value.