react-native-view-shot icon indicating copy to clipboard operation
react-native-view-shot copied to clipboard

Add views to shot only

Open martjoao opened this issue 8 years ago • 4 comments

feature request

It would be nice if there was a way to add custom views to the shot only (not showing them on the app itself). One use case would be to add a logo or a title to the image on a custom location

martjoao avatar Jul 16 '18 20:07 martjoao

not really sure how it would technically be possible. I mean, there is not yet "offline rendering" of react native elements

gre avatar Jul 17 '18 07:07 gre

watermark is quite easy to implement, at least for android.

OleksandrKucherenko avatar Oct 16 '18 07:10 OleksandrKucherenko

I think you can set the view you want to shot under other view. Then the view may not show and you can shot it .

AricWu avatar Dec 03 '18 06:12 AricWu

One way I have found is to create the same view with position: 'absolute' and left: '100%'. Add anything you want on this view and capture it.

If you need any help, I would be happy to provide.

kulgavy avatar Jan 30 '19 08:01 kulgavy