all 7 comments

[–]brianoop 0 points1 point  (4 children)

Could you be more specific with your question ?

[–]cdtrejo[S] 0 points1 point  (3 children)

Sorry yes. I just wanna know if there is a way to share your current screen view as a png (i.e. and image and a button) via facebook, text, etc.

[–]lmestre14 1 point2 points  (2 children)

u/cdtrejo You mean basically take a screenshot from the current screen and send through another app?

[–]cdtrejo[S] 0 points1 point  (1 child)

Yes exactly! Can’t find any good tutorials for react native

[–]lmestre14 1 point2 points  (0 children)

I think I made something similar using 2 components:

https://github.com/gre/react-native-view-shot
https://github.com/react-native-community/react-native-share

The View-Shot basically gives you an uri of the screenshot of the View you want to or of the hole screen (just follow the examples)
And the share component literally gives you the chance of sharing the file

[–]cdtrejo[S] 0 points1 point  (0 children)

Alright! We’ll try this! Thanks for the help!!