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
I fiddled around with props and after adding backgroundColor={"transparent"} hidden={false} it stopped throwing the exception.
Using imperative API instead of declarative, e.g. StatusBar.setBarStyle("dark-content", true); seems to be working fine.
Not sure if it's a bug or breaking change, but after adding those props, status bar now seems to overwrite previously set translucent={true} to false and needs to be explicitly set again.
Reproducible Demo
See description.
The text was updated successfully, but these errors were encountered:
but backgroundColor value was a empty string at first render() execution, so the exception was thrown.
When testing, i've put a valid string color and everything's working fine now.
EDIT: Seems to be fixed in
0.58.3
.Environment
Description
After upgrading from
0.58.1
to0.58.2
, using StatusBar's declarative API now throws an exception on Android (haven't tested on IOS).I fiddled around with props and after adding
backgroundColor={"transparent"} hidden={false}
it stopped throwing the exception.Using imperative API instead of declarative, e.g.
StatusBar.setBarStyle("dark-content", true);
seems to be working fine.Not sure if it's a bug or breaking change, but after adding those props, status bar now seems to overwrite previously set
translucent={true}
tofalse
and needs to be explicitly set again.Reproducible Demo
See description.
The text was updated successfully, but these errors were encountered: