Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use UnimplementedView for CheckBox on iOS #16211

Closed
wants to merge 2 commits into from
Closed

Use UnimplementedView for CheckBox on iOS #16211

wants to merge 2 commits into from

Conversation

timwangdev
Copy link
Contributor

@timwangdev timwangdev commented Oct 5, 2017

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-bot facebook-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
Copy link
Contributor

@janicduplessis janicduplessis left a comment

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
Contributor

@facebook-github-bot shipit

@facebook-github-bot facebook-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
Copy link
Contributor

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

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 free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Import Started This 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