Skip to content

Conversation

fungilation
Copy link

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

…r and will be removed in a future release. Use StatusBar for mutating the status bar

- StatusBarIOS moved to StatusBar
- StatusBarSizeIOS module renamed to StatusBarSize accordingly
- updated README
- version bumped to 0.4.0
…arIOS but not on StatusBar

> TypeError: StatusBar.addListener is not a function
@a-tokyo
Copy link

a-tokyo commented Jan 28, 2022

Thanks for the awesome work!

This fix is not viable yet. RN has not yet migrated the events from StatusBarIOS to StatusBar. source: facebook/react-native#32297

@a-tokyo
Copy link

a-tokyo commented Jan 28, 2022

#23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants