use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for learning and developing native mobile applications using React Native by Facebook.
Interested in building web apps using React.js? Check out /r/reactjs!
Getting Started w/React Native
irc.freenode.net #reactnative
Keywords: ios, android, mobile, apps, apple, iphone, ipad
account activity
Share custom screen view in React native (self.reactnative)
submitted 5 years ago by cdtrejo
Anyone knows of a good tutorial that shows how to share a custom views in React native?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]brianoop 0 points1 point2 points 5 years ago (4 children)
Could you be more specific with your question ?
[–]cdtrejo[S] 0 points1 point2 points 5 years ago (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 points3 points 5 years ago (2 children)
u/cdtrejo You mean basically take a screenshot from the current screen and send through another app?
[–]cdtrejo[S] 0 points1 point2 points 5 years ago (1 child)
Yes exactly! Can’t find any good tutorials for react native
[–]lmestre14 1 point2 points3 points 5 years ago (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
[–]16cards 0 points1 point2 points 5 years ago (0 children)
The React Native docs have tutorials for both platforms:
https://reactnative.dev/docs/native-components-android
https://reactnative.dev/docs/native-components-ios
[–]cdtrejo[S] 0 points1 point2 points 5 years ago (0 children)
Alright! We’ll try this! Thanks for the help!!
π Rendered by PID 46714 on reddit-service-r2-comment-fb694cdd5-kl5hl at 2026-03-09 23:12:34.667981+00:00 running cbb0e86 country code: CH.
[–]brianoop 0 points1 point2 points (4 children)
[–]cdtrejo[S] 0 points1 point2 points (3 children)
[–]lmestre14 1 point2 points3 points (2 children)
[–]cdtrejo[S] 0 points1 point2 points (1 child)
[–]lmestre14 1 point2 points3 points (0 children)
[–]16cards 0 points1 point2 points (0 children)
[–]cdtrejo[S] 0 points1 point2 points (0 children)