react-native-status-bar-size icon indicating copy to clipboard operation
react-native-status-bar-size copied to clipboard

StatusBarIOS moved to StatusBar to address RN deprecation and removal

Open fungilation opened this issue 4 years ago • 2 comments

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

fungilation avatar Jan 30 '21 23:01 fungilation

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

a-tokyo avatar Jan 28 '22 12:01 a-tokyo

https://github.com/jgkim/react-native-status-bar-size/issues/23

a-tokyo avatar Jan 28 '22 12:01 a-tokyo