gre / react-native-view-shot

Snapshot a React Native view and save it to an image
https://github.com/gre/react-native-view-shot-example
MIT License
2.66k stars 346 forks source link

Two capture in a row leads to only latest one available #464

Open pierroo opened 1 year ago

pierroo commented 1 year ago

bug report

I need to do two capture: first one "as is" then second one, after I hide some elements from the view, and then re-capture with removed elements

Both seems to be working, I get a local path as a result, HOWEVER once I try to use the first local path I keep getting the error: "Can't request the image from the uri: file:///data/user/0/...blabla"

Whereas the latest is okay.

Version & Platform

react-native: 0.69.7 view-shot: 3.5.0

Tested on android only for now