Open a-tokyo opened 2 years ago
When using RN >= 0.66 this error is thrown:
Invariant Violation: StatusBarIOS has been removed from React Native. Has been merged with StatusBar. See https://reactnative.dev/docs/statusbar
react-native-status-bar-size uses StatusBarIOS in the addListener function
Update: – I attempted working on a fix but I couldn't since I am blocked RN migrating the StatusBarIOS events to StatusBar – Related issue https://github.com/facebook/react-native/issues/32297
Update: Fix PR: https://github.com/jgkim/react-native-status-bar-size/pull/22
When using RN >= 0.66 this error is thrown:
react-native-status-bar-size uses StatusBarIOS in the addListener function
Update: – I attempted working on a fix but I couldn't since I am blocked RN migrating the StatusBarIOS events to StatusBar – Related issue https://github.com/facebook/react-native/issues/32297