jwplayer / jwplayer-react-native

MIT License
32 stars 9 forks source link

fix conditional use of cast sdk #14

Closed chaimPaneth closed 6 months ago

chaimPaneth commented 6 months ago

What does this Pull Request do?

Adds conditional code only if cast is enabled

Why is this Pull Request needed?

Fixes https://github.com/jwplayer/jwplayer-react-native/issues/9

Are there any points in the code the reviewer needs to double check?

removal of cast events in the main class and added again in an extension

Are there any Pull Requests open in other repos which need to be merged with this?

no

Addresses Issue(s):

https://github.com/jwplayer/jwplayer-react-native/issues/9

GitHub Issue