Open artyorsh opened 4 years ago
@artyorsh After completing the configuration section in the README the app should not restart anymore: https://github.com/expo/react-native-appearance#configuration
@dimitarnestorov Thanks. That was helpful for bare react-native project. Can it be somehow handled in expo environment?
Is it not? You might want to reopen in this case.
This solved my use-case. I was able to switch to Bare expo application and modify AndroidManifest. However, am I right that this issue is actual for regular Expo applications?
@artyorsh I can confirm that this is not resolved for expo environment, Can you please reopen this issue with probably Expo written in the tittle.
Hi, I'm getting the same issue. I even tried removing appearance completely and went back to the barest of apps from an expo init ( sdk 37 ). App restarts on a dark mode switch, not sure if this is an appearance bug? /Stephen.
Can confirm this still happens on the manager workflow. Maybe the shell app needs to be updated?
Also noticed that the expo client app is also affected
Same here
Hi 👋 Thanks for the great work on this library and Expo support.
I'm sorry if I've missed something, but is it correct that Android completely restarts an app on a system theme switch while iOS is not forced to do this?
Related code:
Also
"userInterfaceStyle": "automatic"
in app.jsonWhich is followed by default configuration of usage docs
Demo