Share a snapshot

#1

I see there is a way to take a snapshot https://docs.expo.io/versions/latest/sdk/take-snapshot-async
but how can I share this snapshot as attachment via mail or instant messaging?

#2

Well, I see even share any kind of image is a problem, am I right?

#3

Hey @alfredopacino,

Yeah, the Share API from react-native doesn’t support sharing images. You would need to detach and use a third-party library in order to achieve this functionality.

Cheers,

Adam

#4

Well, I see here someone found a way to share an image using rn-fetch-blob (which seems integrated in Expo now)

it seems a light at the end of the tunnel, am I right?

#5

Yes, Expo includes blob support with React Native as long as you are using SDK 26 or newer.

closed #6

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.