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.64k stars 344 forks source link

react-native-view-shot error: failed to capture view snapshot on android with MaskedView from '@react-native-community/masked-view' #497

Open DmitryB11 opened 10 months ago

DmitryB11 commented 10 months ago

I use react-native-view-shot and it works with no problem on iOS but on Android I got error: failed to capture view snapshot I put collapsable={false} but it is not works. It only works if I remove MaskedView, but I can't do it because I need it in my code. My code about the same as in this post. MaskedView from '@react-native-community/masked-view'

{labels?.join('\n')} }> {labels?.join('\n')} ` _Originally posted by @prani95 in https://github.com/gre/react-native-view-shot/issues/489#issuecomment-1708513771_
srivastava9 commented 1 month ago

Hey @DmitryB11 Did you get a solution for the problem?