react-native-jw-media-player icon indicating copy to clipboard operation
react-native-jw-media-player copied to clipboard

tvOS Support

Open jonathankiefer opened this issue 2 years ago • 5 comments

When trying to use this library in a tvOS build with the following project init: react-native init MyApp --template=react-native-tvos

I get the following error when the JW Player component is loaded: Invariant Violation: requireNativeComponent: "RNJWPlayerView" was not found in the UIManager.

"JWPlayerKit" and "RNJWPlayer" are present in the Podfile.lock and the project builds fine on iPhone/iPad devices. Any idea what needs to be modified to get this working on Apple TV devices?

Not sure if this matters, but the "react-native-tvos" template creates separate Xcode build schemes for iOS and tvOS.

Edit: Looks like this library will need to implement JWPlayerTVKit to support tvOS.

jonathankiefer avatar Jan 27 '23 21:01 jonathankiefer

hey @jonathankiefer ! any luck with this?

grigdodon avatar Mar 26 '23 19:03 grigdodon

does this work?

landonwjohnson avatar Mar 27 '23 18:03 landonwjohnson

hey @jonathankiefer ! any luck with this?

So far, attempts to add JWPlayerTVKit support have been unsuccessful.

jonathankiefer avatar Mar 29 '23 22:03 jonathankiefer

same here, any update?

mahmudsg avatar Jun 14 '23 09:06 mahmudsg

I actually really need this feature 😅

landonwjohnson avatar Jun 15 '23 02:06 landonwjohnson