react-native-view-shot
react-native-view-shot copied to clipboard
Can't find variable: nextProps
#84 # bug report
I am following the guide to install and use the view shot, but instead i get "Can't find variable: nextProps"
Version & Platform
[email protected]
"react-native": "^0.59.10"
Platform: Android, probably iOS
Expected behavior
It should return the screenshot
Actual behavior
It returns a reference error
Steps to reproduce the behavior
onCapture = uri => {
console.log("do something with ", uri);
};
render() {
return (
....
<ViewShot onCapture={this.onCapture} captureMode="mount">
<Text>...Something to rasterize...</Text>
</ViewShot>
....
)
}
The same problem happened to react native 0.60+
this is now fixed.
The new example app also runs with React Native 0.60