react-native-view-shot
react-native-view-shot copied to clipboard
Snapshot a React Native view and save it to an image
**bug report** The lib doesn't work when the flag `newArchEnabled` is enabled in `gradle.properties`. Tested in `3.7.0` and `3.8.0` versions. **Version & Platform** `3.7.0` and `3.8.0` Expo version 49 and...
[](url)Hi there, I am getting error No view found with reactTag but only with new architecture. Same error in both Android & iOS. Anyone? How to resolve it?
### bug report After upgrading to React Native 0.72.0, I get the `Failed to capture view snapshot` error. It worked on React Native 0.71.11 #### Version & Platform ```bash [email protected]...
### bug report I get this error when I try to "viewShotRefs?.current.capture().then..."  obviously there may be something wrong in my view that I have yet to find, but why...
I want to put some overlays ontop of my camera view so that when the shot is taken by view shot it will be a picture with the overlays ontop....
For reference if anyone get the same problem, just round your view dimensions.
const onFinalSave = async () => { const targetPath = Platform.OS === 'ios' ? `${RNFS.DocumentDirectoryPath}/${imageName}` : `${RNFS.DownloadDirectoryPath}/${imageName}`; const uri = await viewShotRef.current.capture(); const imageBuffer = await RNFS.readFile(uri, 'base64'); const imagePath...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4. Commits 6585820 Release version 1.15.4 of the npm package. 7a6567e Disallow bracketed hostnames. 05629af Prefer native URL instead of deprecated url.parse. 1cba8e8 Prefer native...
Please add a support for video screenshot in expo
# What After upgrading the React Native version to 0.72 I started to notice problems with displaying base64 view shots in `` components. Turns out it was because there were...