Skip to content

0.6.0-rc StatusBarIOS.Style.lightContent undefined is not an object #1530

Description

@ldesplat

What happened to StatusBarIOS? This used to work on 0.4.x and then I upgraded to 0.5 and it continued working. I then upgraded to 0.6.0-rc and I get undefined is not an object (evaulating 'StatusBarIOS.Style.lightContent').

Inspecting StatusBarIOS I see there is still setStyle and setHidden but that's it.

Alright, going through the docs I see that the API has changed (which is a breaking change). Now we have to put an actual string in so:
StatusBarIOS.setStyle(StatusBarIOS.Style.lightContent, false);
to
StatusBarIOS.setStyle('light-content', false);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions