Skip to content

Use UnimplementedView for CheckBox on iOS - #16211

Closed
timwangdev wants to merge 2 commits into
react:masterfrom
timwangdev:master
Closed

Use UnimplementedView for CheckBox on iOS#16211
timwangdev wants to merge 2 commits into
react:masterfrom
timwangdev:master

Conversation

@timwangdev

@timwangdevtimwangdev commented Oct 5, 2017

Copy link
Copy Markdown
Contributor

CheckBox component was introduced in v0.49.0 and not implemented on iOS.

Users who are trying to use CheckBox on iOS will get a warning that

Native component for "AndroidCheckBox" does not exist

We should declare in the document that this component is Android only and use UnimplementedView for iOS.

Test Plan

  • Use react-native init new project
  • Apply pull request changes
  • Add <Checkbox /> after welcome text in App.js
  • Run the app in iOS simulator

@facebook-github-botfacebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 5, 2017

@janicduplessisjanicduplessis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@janicduplessis

Copy link
Copy Markdown
Contributor

@facebook-github-bot shipit

@facebook-github-botfacebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Oct 7, 2017

@facebook-github-botfacebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janicduplessis is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

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

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.Import StartedThis pull request has been imported. This does not imply the PR has been approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@timwangdev@janicduplessis@facebook-github-bot