Open kfiroo opened 7 years ago
@kfiroo Thanks for posting this! I was getting the same issue.
Looks like the specific issue has been fixed in ScalableVideoView
thanks to this Pull Request: https://github.com/yqritc/Android-ScalableVideoView/pull/12 .
On the React-Native-Video side, we need to use the latest version of ScalableVideoView
(1.0.4), and make sure the release()
method has been called correctly in ReactVideoView.java
.
I just opened a PR for that here: https://github.com/react-native-community/react-native-video/pull/533
Hey, I have route with a
react-native-video
component, the route is not currently focused, when unmounting the route the app crashes with the following error.From what I could find in the docs:
My
Video
component is in a background route (i.e. there is a route on top of it) so maybe the video gets release when not visible and that causes theisPlaying
to throw?Thanks!