Hi Martijn Muskens,
To permanently disable dark mode in your Android app, you can update the code in your MainActivity.java file.
// Checks the current theme and applies the correct style (Backwards compatible)boolean isDarkMode;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { isDarkMode = getResources().getConfiguration().isNightModeActive();} else { isDarkMode = AppCompatDelegate.getDefaultNightMode() == AppCompatDelegate.MODE_NIGHT_YES;}
setTheme(isDarkMode ? R.style.AppTheme : R.style.AppTheme_Dark);
Open Android studio and Check on the below lines in MainActivity.java and Just Comment these code and Replace it with,
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);