react-native-view-shot
react-native-view-shot copied to clipboard
can not capture ImageBackground in screen shot
feature request
can not capture ImageBackground in screen shot when viewshot includes an ImageBackground
bug report
Version & Platform
npm ls react-native react-native-view-shot #<- PASTE CMD RESULT IN HERE
Platform: Android
Expected behavior
Actual behavior
Steps to reproduce the behavior
you can try after image onLoad, such as
<ImageBackground source={xxx} onLoad={() => { this._onImageLoad() }} />
_onImageLoad = () => { this.refs.viewShot.capture().then(uri => { console.log("d-----------------> ", uri); this.setState({ uri: uri }) }) };
+1
Any update on this issue ???
wondering also. is this a bug or is there a fix?