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

Not compatible with RN>=0.66

Open a-tokyo opened this issue 3 years ago • 1 comments

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

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

Update: Fix PR: https://github.com/jgkim/react-native-status-bar-size/pull/22

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