Questions tagged [react-native-view-shot]
19 questions
4
votes
1 answer
Share on facebook after taking viewshot - not showing image on facebook
I am trying to take a view shot then share it on facebook the viewshot however the image sometimes doesn't show up.
import Share from 'react-native-share';
import ViewShot from 'react-native-view-shot';
class ShareOptions extends PureComponent {
…

vini
- 4,657
- 24
- 82
- 170
3
votes
1 answer
Not able to find Image in cache using npm react-native-view-shot
I am using npm react-native-view-shot to capture the view in the image and save locally on the device.
When I try to take snap-shot using the following code I get path but not image at the location, below is code and output
Path:-…

Sagar
- 5,273
- 4
- 37
- 50
2
votes
0 answers
How to dynamically create an image for instagram stories
So I can already post a picture on my app to Instagram stories. However, every time a user clicks the button to share the image, the text and profile photo should be different on the image—like the image below. Needs to be dyanmic.
Right now, I'm…

carlosdafield
- 1,479
- 5
- 16
2
votes
1 answer
WebView Full Page Screenshot in React Native
How to take full page screenshot of webview in react native? Already tried "react-native-view-shot " Link but it only takes screenshot of the visible area.
Someone please help.
Thanks

Kh An
- 481
- 6
- 13
1
vote
0 answers
React native view shot can't receive empty message
I want to export the image using React Native View Shot, but there is a problem, how come the image doesn't want to export, so there's an error like this. In English, it's like "shot can't receive empty message"
this is my code
import ViewShot, {…

misry
- 341
- 2
- 4
- 14
1
vote
1 answer
Unable to Capture screen shot in react-native-video
react-native Platform:
iOS
Android
Issue:
I am trying to capture screen. when video is pause. But whenever I trying to capture image from video. its throwing waring and unable to capture that;
Possible Unhandled Promise Rejection (id: 25):
Error:…

Manjeet
- 11
- 2
1
vote
0 answers
file format not supported error in react native image To pdf and react native view shot
I have take image of screen view in by using view shot library. and after that I convert that image to pdf using react-native-image-to-pdf library.
file saved successfully but. when I try to open that file its saying file format not supported. and…
user14877357
1
vote
1 answer
react-native-view-shot: NativeModules.RNViewShot is undefined. Make sure the library is linked on the native side
I'm trying to capture View in react native but got the NativeModules.RNViewShot is undefined error.
Things I've tried
Manual Linking
Restart/rebuild project
Deleted node modules
Downgrade package version
If there is any other alternative of…

Hemendra Khatik
- 371
- 4
- 22
1
vote
1 answer
React Native View Shot not capturing video of live stream on ios
I am using React Native View Shot and I need our product to be able to capture live streaming from a m3u8 uri from React Native video package.
Currently on android it is capturing the screen fine, but on IOS there seems to be an issue of View Shot…

Ru Lette
- 41
- 5
1
vote
1 answer
React Native Expo Image Saving Attempt: TypeError: Null is not an object
I'm trying to get an image to save to my device. I am usint react-native-view-shot to capture a component and react-native-community/cameraroll to save it.
I am getting an error:
[Unhandled promise rejection: TypeError: null is not an object…

Chad Wilson
- 21
- 1
- 5
0
votes
1 answer
Using react-native-view-shot package in React Native how do I capture the View I want using useRef?

Hassan Zahra
- 1
- 2
0
votes
0 answers
How to capture a playing video (ex: youtube video) inside react native view
I am currently using react-native-view-shot to capture the visible screen of my react-native app.
It works well, except for videos. When I take a capture while there is a youtube video playing, the images comes out with the video blacked out. Is…

Adriel
- 1
0
votes
0 answers
In React Native, how can we share screenshot with a predefined message on facebook or instagram?
In react native, im using react-native-share and viewshot package to screenshot. I want to share the screenshot with a message or link but on facebook either i can upload message or add url.I'm able to send image with message on other platform like…
0
votes
0 answers
React-native EXPO: capturing a view with a video
i am developing an app with react-native and expo.
in my app users have the possibility to post photos and videos, and if they want they can then share them on other social networks.
When they want to share on social networks I add a sort of…

stormy TV
- 85
- 1
- 6
0
votes
0 answers
React-native - Capture screenshot of the entire webpage
The code below captures only the visible part of the webview and I want to modify it to capture the entire/scrollable content of the webpage, I have also attached an Image to guide you as to how I want to capture the screenshot.
Example: This…

Phakamani Xulu
- 79
- 6