Skip to content

Not compatible with RN>=0.66 #23

@a-tokyo

Description

@a-tokyo

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 facebook/react-native#32297

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions