Skip to content

Doesn't support landscape mode #3

Description

@danielmhanover

When showing the SCLAlert component in landscape mode, I get an error:

Exception thrown while executing UI block: Supported orientations has no common orientation with the application, and [RCTModalHostViewController shouldAutorotate] is returning YES

As per this thread the solution is to add supportedOrientations={['portrait', 'landscape', 'landscape-left', 'landscape-right']} (as well as to modify styles to make it look good). Could someone please PR this?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions