Closed aurimasmi closed 1 year ago
@aurimasmi I also needed to install react-native-vector-icons
as a dependency. ~However I can't run it on android. Snippet that you mentioned is added~ Android works after adding
import android.view.KeyEvent;
For tvos I get the error
Invariant Violation: requireNativeComponent: "TvFocusableView" was not found in the UIManager.
@aurimasmi @mihaiblaga89 it would be good to merge latest main here
@aurimasmi I also needed to install
react-native-vector-icons
as a dependency. ~However I can't run it on android. Snippet that you mentioned is added~ Android works after addingimport android.view.KeyEvent;
For tvos I get the error
Invariant Violation: requireNativeComponent: "TvFocusableView" was not found in the UIManager.
tvos fix version 0.21.2-alpha.39
I also don't like react-native-vector-icons
being there it supports single component. Happy to remove it or hear more opinions
Tested this on latest react-native-tvos https://github.com/react-native-tvos/react-native-tvos
Steps how to test it:
In MainActivity.java add this snippet
function Content() { return (
); }
function App(): JSX.Element { return ( <CreateApp style={{flex: 1}}>
); } export default App;