mirror of
https://github.com/zoriya/react-native-video.git
synced 2025-12-05 23:06:14 +00:00
Describe the changes Upgrade ExoPlayer to version 2.17.1 Provide an example of how to test the change Tested with a forked of react-native-video-test * Update exoplayer to v2.15.1 * feat: upgrade ExoPlayer to version 2.17.1 * chore: update CHANGELOG * remove ExoPlayerFullscreenVideoActivity * Fix build issues * Fix build & runtime issues Co-authored-by: Eran Hammer <eran@hammer.io> Co-authored-by: Armands Malejev <armands.malejevs@gmail.com>
react-native-video caching example (currently only working on iOS)
How to verify that caching is working (iOS)
- run
./update.sh - open
ios/VideoCaching.xcworkspace - build and run project in simulator
- after the video is loaded -> disconnect from the internet
- kill the application
- start the application again -> the video is there despite being offline :)
How to verify that you can build the project without the caching feature (iOS)
- In
ios/Podfileapply the following changes
- pod 'react-native-video/VideoCaching', :path => '../node_modules/react-native-video/react-native-video.podspec'
+ pod 'react-native-video', :path => '../node_modules/react-native-video/react-native-video.podspec'
- run
./update.sh - open
ios/VideoCaching.xcworkspace - build and run project in simulator
- after the video is loaded -> disconnect from the internet
- kill the application
- start the application again -> the video should not load