react-native-status-bar-size
react-native-status-bar-size copied to clipboard
StatusBarIOS moved to StatusBar to address RN deprecation and removal
Address RN error: Warning: StatusBarIOS has been merged with StatusBar and will be removed in a future release. Use StatusBar for mutating the status bar
- StatusBarSizeIOS module renamed to StatusBarSize accordingly
- hook up emitter and listener, as addListener was available on StatusBarIOS but not on StatusBar
- updated README
- version bumped to 0.4.0
Thanks for the awesome work!
This fix is not viable yet. RN has not yet migrated the events from StatusBarIOS to StatusBar. source: https://github.com/facebook/react-native/issues/32297
https://github.com/jgkim/react-native-status-bar-size/issues/23