Skip to content

Commit

Permalink
Update building-for-tv.md (#2126)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnylqm authored Aug 7, 2020
1 parent 7bbf7a2 commit 6677d7a
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions docs/building-for-tv.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,20 +149,10 @@ class Game2048 extends React.Component {
- _Back navigation with the TV remote menu button_: The `BackHandler` component, originally written to support the Android back button, now also supports back navigation on the Apple TV using the menu button on the TV remote.
- _TabBarIOS behavior_: The `TabBarIOS` component wraps the native `UITabBar` API, which works differently on Apple TV. To avoid jittery re-rendering of the tab bar in tvOS (see [this issue](https://github.com/facebook/react-native/issues/15081)), the selected tab bar item can only be set from Javascript on initial render, and is controlled after that by the user through native code.
<block class="android" />
- _Dev Menu support_: On the simulator, cmd-M will bring up the developer menu, similar to Android. To bring it up on a real Android TV device, press the menu button or long press the fast-forward button on the remote. (Please do not shake the Android TV device, that will not work :) )
<block class="ios" />
- _Known issues_:
- [ListView scrolling](https://github.com/facebook/react-native/issues/12793). The issue can be worked around by setting `removeClippedSubviews` to false in ListView and similar components. For more discussion of this issue, see [this PR](https://github.com/facebook/react-native/pull/12944).
<block class="android" />
- _Known issues_:
- `InputText` components do not work for now (i.e. they cannot receive focus).
- `TextInput` components do not work for now (i.e. they cannot receive focus, see [this comment](https://github.com/facebook/react-native/pull/16500#issuecomment-629285638)).

0 comments on commit 6677d7a

Please sign in to comment.