Not Updating Automatically
On Android Dark mode is not working, when app is open and changed phone changed to dark mode.
I am using class components.
Try disabling debugger
I will check and get back to you, Thank you for your quick response.
I have testes on Android even on release build, IOS works well and change dark even you toggle it while app is running, but on android I always require to restart the app to convert is to dark mode, it don't work automatically.
Do you have uiMode in android:configChanges in <activity> in AndroidManifest.xml?
I have same issue and I have uiMode in configChanges
Do you have
uiModeinandroid:configChangesin<activity>inAndroidManifest.xml?
Yes I do have that configurations.
I also have this issue on iOS when the debugger is enabled. On android it's permanent.
Yes, Same issues @alexisbronchart .
I have the same issue. Debugger is off, uiMode added to AndroidManifest.xml
same here, on android
Same here too, on Android. I do have uiMode in android:configChanges.
I've been using react-native 0.65 with this node module. However, the funny thing is that the package react-native-dark-mode, which was deprecated in favor of this package, works completely fine with the latest RN version and does update automatically. Just leaving this here for anyone facing this issue.
Does anybody found a solution to this?
Nope it seems. Try using the older react-native-dark-mode module just for now.