Unexpected color given in StatusBar._updatePropsStack when using PlatformColor for theming #48402
Labels
Component: StatusBar
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Description
Setting a
PlatformColor
value as thebackgroundColor
prop ofStatusBar
causes an "Unexpected color given in StatusBar._updatePropsStack" error.Steps to reproduce
npm run android
View
defined in line 27StatusBar.backgroundColor
)React Native Version
0.76.5
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/Glavotaner/InvariantStatusBar
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: