react-native-web icon indicating copy to clipboard operation
react-native-web copied to clipboard

Building for TV Devices

Open dev-seb opened this issue 5 years ago • 5 comments

Add support for TV Devices:

  • Platform.isTV
  • hasTVPreferredFocus
  • nextFocusLeft
  • nextFocusRight
  • nextFocusTop
  • nextFocusBottom
  • TVEventHandler global events
  • Touchable events
  • Touchable UI changes on select

Demo app : https://github.com/dev-seb/react-native-tv-demo

The expected behaviour is the same as for AndroidTV and tvOS, and only if Platform.isTV property is true.

For Platform.isTV is should be possible to parse the User Agent, but env variable seems more suitable to specify whether or not the current app is targeting TVs.

For spatial navigation, the demo relies for web on the third party library Spatial Navigation Polyfill.

dev-seb avatar Mar 18 '20 12:03 dev-seb

Hello, possible to solve those conflicts @dev-seb ? thx

numericgraphics avatar Apr 16 '21 11:04 numericgraphics

It should be solved with 549ec21

dev-seb avatar Apr 16 '21 20:04 dev-seb

Hi @necolas , possible to have this PR in the next release ? should the warning be addressed @dev-seb ? thx anyway

numericgraphics avatar Apr 29 '21 14:04 numericgraphics

@necolas What became of this PR? This is really needed

freemanchari avatar Dec 29 '22 19:12 freemanchari

Is there any way to help merge this PR?

svbutko avatar Nov 24 '23 19:11 svbutko