TVEventHandler is not working with react-native-view in Android #21259
Labels
Platform: Android
Android applications.
Platform: Linux
Building on Linux.
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
Environment
React Native Environment Info:
System:
OS: Linux 4.15 elementary OS 0.4.1 Loki
CPU: x64 Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
Memory: 566.45 MB / 7.70 GB
Shell: 4.3.48 - /bin/bash
Binaries:
Node: 8.11.1 - ~/Work/Installations/node/bin/node
Yarn: 1.9.4 - ~/Work/Installations/node/bin/yarn
npm: 6.1.0 - ~/Work/Installations/node/bin/npm
SDKs:
Android SDK:
Build Tools: 26.0.0, 27.0.3, 28.0.0
API Levels: 19, 23, 26, 27, 28
npmPackages:
@types/react: 16.4.14 => 16.4.14
@types/react-native: 0.56.23 => 0.56.23
react: 16.5.0 => 16.5.0
react-native: v0.57.0 => 0.57.0
npmGlobalPackages:
react-native-cli: 2.0.1
Description
I am developing an app for TV's. There is an intro video screen in this app. On this screen, I am using remote "select" button to play pause video. (There is no play/pause button in some remotes eg. MI Box). I am using "TVEventHandler" class to listen remote keys and printing values in console. But there is no value in console when I press any key from remote. It is not working as expected on Android.
Reproducible Demo
I am logging events in console. You can attach debugger to check console logs.
Here is a dropbox link of demo app:
https://www.dropbox.com/s/1ch84lyo2lh5vjx/RN57.zip?dl=0
The text was updated successfully, but these errors were encountered: