Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatusBarIOS moved to StatusBar to address RN deprecation and removal #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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