react-native-jw-media-player
react-native-jw-media-player copied to clipboard
Type 'RNJWPlayerView' does not conform to protocol 'JWCastDelegate'
Hello I was having this issue after installing the library on my project, then decided to run the Example project provided on this Repo and I am having the same problem. Has anyone found a solution?
Thank you
I have the same issue here.
Findings:
- Variable
USE_GOOGLE_CAST
was not set. After setting this, above error disappeared. - I have replaced the functions
override func onAdTimeEvent(_ time:JWTimeData)
andoverride func onMediaTimeEvent(_ time:JWTimeData)
with their original values:func onAdTimeEvent(time:JWTimeData)
andfunc onMediaTimeEvent(time:JWTimeData)
. I received:Method does not override any method from its superclass
. - (https://github.com/chaimPaneth/react-native-jw-media-player/pull/346).
Additionally, the project had to be built/compiled in Rosetta when using the simulator?
I'm not sure if these are the correct steps, but they did get it working for me. I would appreciate hearing how to do it the right way.
Thank you in advance.
My macOS version is: 14.2. xCode version: 15.0.1.
any solution to this? I am using react native with expo work flow and this is causing error with EAS build. Expo SDK 50
I have the same issue here.
Findings:
1. Variable `USE_GOOGLE_CAST` was not set. After setting this, above error disappeared. 2. I have replaced the functions `override func onAdTimeEvent(_ time:JWTimeData)` and `override func onMediaTimeEvent(_ time:JWTimeData)` with their original values: `func onAdTimeEvent(time:JWTimeData)` and `func onMediaTimeEvent(time:JWTimeData)`. I received: `Method does not override any method from its superclass`. - ([updated onAdTimeEvent, onMediaTimeEvent #346](https://github.com/chaimPaneth/react-native-jw-media-player/pull/346)).
Additionally, the project had to be built/compiled in Rosetta when using the simulator?
I'm not sure if these are the correct steps, but they did get it working for me. I would appreciate hearing how to do it the right way.
Thank you in advance.
My macOS version is: 14.2. xCode version: 15.0.1.
Hello, how were you able to solve the error Type 'RNJWPlayerView' does not conform to protocol 'JWCastDelegate'