Open martinheidegger opened 4 years ago
some issues
same issues, any luck ?
Not really a solution but you can disable the rendering of the camera before taking the screenshot.
I had the problem with using react-navigation
as well. See https://github.com/react-native-camera/react-native-camera/blob/master/docs/react-navigation.md
bug report
Both with
.captureRef
and.captureScreen
a camera in the screen is always rendered above other elements.Here are two screenshots of the Consento Screen
Taken with Android device screenshot: ↓
Taken with
react-native-view-shot
: ↓Version & Platform
Platform: Android
Expected behavior
Camera is rendered with the correct z-Index. If elements are above: they are rendered above.
Actual behavior
Camera is rendered above all other elements.
Steps to reproduce the behavior