react-native-view-shot
react-native-view-shot copied to clipboard
Snapshot a React Native view and save it to an image
captureScreen({ format: "jpg", quality: 0.8, fileName: "Name_of _the_file" }) every option is working except 'fileName' option. Is there away to change the name of the Screenshot taken through react-native-view-shot ?
Android App crashes only with release APK and release Bunddle "react": "17.0.1", "react-native": "0.64.1" crash log ``` com.facebook.react.uimanager.IllegalViewOperationException: Trying to resolve view with tag 4183 which doesn't exist at com.facebook.react.uimanager.NativeViewHierarchyManager.resolveView(NativeViewHierarchyManager.java:103)...
How can we save if there is a gif in the view while taking the view image.
**Platform:** IOS #### Actual behavior  I want to remove the white corners coming in ios screenshots. How to remove those?
### bug report × Auto-linking... Error: Autolinking: Found a Windows solution for react-native-view-shot but no React Native for Windows native module projects. (737ms) × Autolinking failed. Found a Windows solution...
### bug report #### Version & Platform iOS 15 react-native-view-shot: 3.1.2 react-native-screns: 3.10.1 **Platform:** iOS #### Expected behavior `captureScreen` returns a screenshot. #### Actual behavior `captureScreen` returns a completely white...
### bug report when using simulator we get the absolute path for image uri ``` /Users//Library/Developer/CoreSimulator/Devices/1A59B43E-F0E3-4C58-9D4C-C37E784D9FE0/data/Containers/Data/Application/76F43B2B-FCE7-4D6B-AAD8-D3332AB8A0BF/tmp/ReactNative/B9DEF3D7-D357-4224-B32A-A185C23A0C04.png ``` but when we use the emulator we get relative path ``` file:///data/user/0//cache/ReactNative-snapshot-image8476334127067790968.png ```...
I am using useRef() to handle capture functions, adding ```snapshotContentContainer``` throws an error ```Failed to capture view snapshot``` . Is there an alternative to capture the whole scrollview? since this...
I'm use import {WebView} from 'react-native-webview'; My code ` { this.viewShotRef = ref; }} options={{format: 'jpg', quality: 0.9}}> ` WebView page not showing inside ViewShot tags
### bug report Webview content cannot captured #### Version & Platform react-native-view-shot: 3.1.2 react-native : 0.62.2 **Platform:** iOS **14.4.1** **Good work with** iOS 14.4 and below **Error** iOS 14.4.1 ####...