Share a snapshot

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?

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

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

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?

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

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