In this gist I am going to explain how to make your react-native application independent to the dark/night mode in android.
Dark mode is natively available since sdk 30 (Android 10) and to change this, we need to downgrade the sdk.
- In
android\app\src\main\res\values\styles.xml
add the below code
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
false