Skip to content

Apple TV support 4: support for input (tvOS focus engine) #10427

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

Closed
wants to merge 87 commits into from

Conversation

douglowder
Copy link
Contributor

  • Motivation

Make Apple TV React Native apps actually work by supporting Siri Remote and keyboard input through the TouchableHighlight and TouchableOpacity components. Also enable input into TextInput components, and support TabBarIOS. Add an API for changing which component has the tvOS focus.

  • Test plan

Existing Apple TV automation still passes. Reenabling existing snapshot tests for Apple TV. Will add snapshot tests later for verifying the tvOS focus API.

@facebook-github-bot
Copy link
Contributor

By analyzing the blame information on this pull request, we identified @caabernathy and @jacobp100 to be potential reviewers.

@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Oct 17, 2016
@jacobp100
Copy link
Contributor

I don’t think I’m the right person to be reviewing this! Maybe you could ping the people who did the previous reviews!

@facebook-github-bot
Copy link
Contributor

@dlowder-salesforce updated the pull request - view changes

@douglowder
Copy link
Contributor Author

@javache @bestander here is the next round of Apple TV changes.

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

@dlowder-salesforce updated the pull request - view changes

@facebook-github-bot
Copy link
Contributor

@dlowder-salesforce updated the pull request - view changes

@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 21, 2016
@douglowder
Copy link
Contributor Author

Weird, now the TabBar snapshot test is failing for tvOS.... not seeing that locally

@lacker
Copy link
Contributor

lacker commented Oct 29, 2016

Is that what Travis was failing on? It looked like a properties update test to me. I'll restart Travis fwiw.

@javache javache self-assigned this Dec 12, 2016
@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 Dec 12, 2016
@facebook-github-bot facebook-github-bot removed the Import Started This pull request has been imported. This does not imply the PR has been approved. label Dec 12, 2016
@douglowder
Copy link
Contributor Author

@javache import failed again... please let me know if there is anything I can do to help resolve the issue.

@facebook-github-bot facebook-github-bot added Import Started This pull request has been imported. This does not imply the PR has been approved. and removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Dec 13, 2016
@javache javache added Import Started This pull request has been imported. This does not imply the PR has been approved. and removed Import Failed labels Dec 13, 2016
@facebook-github-bot facebook-github-bot added Import Failed and removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Dec 13, 2016
@javache
Copy link
Member

javache commented Dec 19, 2016

Landed in c92ad5f!

@javache javache closed this Dec 19, 2016
douglowder added a commit to douglowder/react-native that referenced this pull request Dec 19, 2016
facebook-github-bot pushed a commit that referenced this pull request Dec 21, 2016
Summary:
**Motivation**

After reviewing changes between my PR #10427 and what was eventually manually imported to master, found two minor adjustments needed.

**Test plan**

Existing tests should still pass.
Closes #11548

Differential Revision: D4357216

Pulled By: javache

fbshipit-source-id: 571794cda104210bf5236462c0700e07a2a51d29
nicktate pushed a commit to nicktate/react-native that referenced this pull request Dec 30, 2016
Summary:
**Motivation**

After reviewing changes between my PR facebook#10427 and what was eventually manually imported to master, found two minor adjustments needed.

**Test plan**

Existing tests should still pass.
Closes facebook#11548

Differential Revision: D4357216

Pulled By: javache

fbshipit-source-id: 571794cda104210bf5236462c0700e07a2a51d29
DanielMSchmidt pushed a commit to DanielMSchmidt/react-native that referenced this pull request Jan 4, 2017
Summary:
**Motivation**

After reviewing changes between my PR facebook#10427 and what was eventually manually imported to master, found two minor adjustments needed.

**Test plan**

Existing tests should still pass.
Closes facebook#11548

Differential Revision: D4357216

Pulled By: javache

fbshipit-source-id: 571794cda104210bf5236462c0700e07a2a51d29
facebook-github-bot pushed a commit that referenced this pull request Jul 15, 2017
Summary:
The `focusedOpacity` prop is only used inside `_opacityFocused` which is not used anywhere. This pr removes this unused code.
The code was added in #10427 but it does not appear to be used in the final version of the pr.
Closes #14984

Differential Revision: D5430611

Pulled By: shergin

fbshipit-source-id: 0bc4fdef04304eae9785caaf76ae1fb12ce6651e
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants