react-native-dynamic icon indicating copy to clipboard operation
react-native-dynamic copied to clipboard

Not Updating Automatically

Open FawadMahmood opened this issue 5 years ago • 14 comments

On Android Dark mode is not working, when app is open and changed phone changed to dark mode.

I am using class components.

FawadMahmood avatar Nov 21 '20 20:11 FawadMahmood

Try disabling debugger

DimitarNestorov avatar Nov 22 '20 23:11 DimitarNestorov

I will check and get back to you, Thank you for your quick response.

FawadMahmood avatar Nov 26 '20 05:11 FawadMahmood

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.

FawadMahmood avatar Nov 28 '20 08:11 FawadMahmood

Do you have uiMode in android:configChanges in <activity> in AndroidManifest.xml?

DimitarNestorov avatar Nov 29 '20 13:11 DimitarNestorov

I have same issue and I have uiMode in configChanges

cstlex avatar Nov 29 '20 18:11 cstlex

Do you have uiMode in android:configChanges in <activity> in AndroidManifest.xml?

Yes I do have that configurations.

FawadMahmood avatar Nov 30 '20 11:11 FawadMahmood

I also have this issue on iOS when the debugger is enabled. On android it's permanent.

alexisbronchart avatar Nov 30 '20 15:11 alexisbronchart

Yes, Same issues @alexisbronchart .

FawadMahmood avatar Nov 30 '20 15:11 FawadMahmood

I have the same issue. Debugger is off, uiMode added to AndroidManifest.xml

mesutaltuncu avatar Dec 13 '20 16:12 mesutaltuncu

same here, on android

JuliusWinther avatar Jan 01 '21 13:01 JuliusWinther

Same here too, on Android. I do have uiMode in android:configChanges.

vishalkrishnads avatar Apr 20 '21 04:04 vishalkrishnads

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.

vishalkrishnads avatar Apr 20 '21 04:04 vishalkrishnads

Does anybody found a solution to this?

krlol avatar Sep 06 '21 16:09 krlol

Nope it seems. Try using the older react-native-dark-mode module just for now.

vishalkrishnads avatar Sep 07 '21 08:09 vishalkrishnads