react-native-view-shot
react-native-view-shot copied to clipboard
Support capture SurfaceView on Android
Continues of #323.
- Use
PixelCopy.request
to capture SurfaceView content - Update video example
- Upgrade react-native-video to latest alpha version because v5.2 doesn't work (jcenter issue)
- Set
useTextureView={false}
to use surface view (ref: https://github.com/react-native-video/react-native-video/blob/08c2220e1663808a7bac76babc404b51154a50af/android/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java#L107) - Keep the old video example, it used TextureView. So we can see two videos in example
@gre Please review this. Thanks!
Thanks!