tvOS/Siri remote support? #2181
Unanswered
leonchabbey
asked this question in
Q&A
Replies: 2 comments
|
You should use TVEventControl and useTVEventHandler to capture pan, tap and etc. See this: react-native-tvos/react-native-tvos#295 |
0 replies
|
For Apple TV I would not rely on RNGH as the primary input layer. The Siri remote is much closer to a TV event / focus device than a touch screen, so the more reliable approach is usually:
RNGH is great for touch gestures on iOS/Android, but tvOS remote input is a different model. So if Pan/Tap callbacks are not firing, that is not surprising. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm using https://github.com/react-native-tvos/react-native-tvos and i'm trying to get gestures such as Pan and Tap from the Apple TV remote but nothing happens (no callback triggered whatsoever).
This library is compatible with tvOS but there is no mention anywhere in the docs about how much of this library's features also work on Apple TV (and Android TV).
Did anyone successfully make it work on Apple TV / Android TV ?
Short example code snippet:
All reactions