How to disable dark-mode in React Native
Android
To disable dark mode on Android, go to styles.xml. This is the path android/app/src/main/res/values/styles.xml then add this piece of code
<item name="android:forceDarkAllowed">false</item>
Your styles.xml should now look somewhat like this
...
dera.hashnode.dev1 min read
Arun Rohila
Thats working!!
Like you suggested for Android and IOS platform, similarly could you please share the disable dark mode thing for "Windows Desktop" application as well.