You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I've implemented the setup as explained in the docs for handling light and dark mode but when I toggle the appearance settings in the simulator or even on my device using expo it doesn't seem to switch modes. Every now an then it works but it's very very occasional. I can't work out if this is an RNR problem or nativewind problem or if I'm doing something wrong.
To Reproduce
Steps to reproduce the behavior:
Start a react native app using the basic light dark mode setup in the RNR docs
Toggle device appearance
Expected behavior
I'd expect the device to effortlessly switch between the two themes
Platform (please complete the following information):
Type: iPhone simulator, iphone 16 pro. Also real iPhone device using expo go
OS: [e.g. iOS] iOS 18.0
The text was updated successfully, but these errors were encountered:
Thanks @mrzachnugent I've had a look at it looks to me like colorScheme is never being triggered by an appearance change with the simulator or with a real device.
I'm not sure if it's something wrong with the underlying library i.e. nativewinds hook or something else?
Describe the bug
I've implemented the setup as explained in the docs for handling light and dark mode but when I toggle the appearance settings in the simulator or even on my device using expo it doesn't seem to switch modes. Every now an then it works but it's very very occasional. I can't work out if this is an RNR problem or nativewind problem or if I'm doing something wrong.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I'd expect the device to effortlessly switch between the two themes
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: