Appearance.addChangeListener intermittently gives flip-flops on open

SDK 39 Managed - React Native Appearance 0.3.4 from “https://github.com/expo/react-native-appearance

On both my iOS Simulator, Standalone iOS, and even on Standalone Android, once in a while when I switch back to my app from another app (like Facebook, Google, doesn’t matter), the Appearance.addChangeListener will churn out “light” and then “dark” again (my phone is in dark mode).

I cannot consistently reproduce it, but it’s extremely annoying when it does happen. It flips for myabe one render frame and then switches back, but causes the whole UI to flicker light back to the dark.

Has anybody experience anything like this?

Oh awesome…so I’m not crazy :slight_smile:

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.