Mistakes that break sharing in Expo
- Using expo-sharing to share plain text or a link. Use Share from react-native.
- Passing a web URL to Sharing.shareAsync. Download the file to the cache first.
- Sharing only url with Share.share. It is iOS only, so Android users get nothing. Put the link in message.
- Treating sharedAction as proof of a share. On Android it always comes back as sharedAction.
- Files with no or the wrong extension, which makes other apps refuse them. Name files with the right extension when you create them.
- Copying FileSystem.downloadAsync from an old tutorial instead of the current File.downloadFileAsync.
- Never testing on iPad, where the sheet needs an anchor.
- Shipping the receive-shares plugin without testing it, when Expo itself labels it experimental.
If the thing being shared is a photo or video the user just took, the capture side is in [how to add a camera to your Expo app](/blog/how-to-add-a-camera-to-your-expo-app).
Have Claude Code set it up for you
Open your project in the Claude Code desktop app and be specific about which content uses which API. Without that, the AI tends to reach for one library for everything. A prompt that covers the usual cases:
Then add a line to your [CLAUDE.md](/blog/claude-md-for-expo-apps) like "text and links share with react-native Share; files share with expo-sharing from a local cache file; never pass a web URL to shareAsync" so a later session does not undo it. Test on a real iPhone, an iPad or iPad simulator, and an Android device.
The short version
To add a share sheet to your Expo app: for text and links, call Share.share from react-native and put the link in message so Android gets it too. For files, install expo-sharing, get the file onto the device first (download it, write it, or capture a view), and pass its local URI to Sharing.shareAsync. Anchor the sheet on iPad. Leave receiving shares from other apps until you really need it, because Expo still calls it experimental.
If you are building your first iOS app with Claude Code and Expo and want a second pair of eyes on it before App Review, bring it to App Store Launch Club. Members share their builds for feedback, and the [curriculum](/curriculum) covers the full path from first build to first users. Join at applaunchclub.co for $9 a month.
Short, practical drops on app ideas, validating fast, store listings, and passing app review. No spam, unsubscribe anytime.
Frequently asked questions
How do I share text or a link in an Expo app?
Use Share.share from react-native: await Share.share({ message, url }). No extra package is needed. The url field only works on iOS, so include the link in message as well for Android.
How do I share a file in Expo?
Install expo-sharing with npx expo install expo-sharing, make sure the file is on the device, and call Sharing.shareAsync(fileUri). Check Sharing.isAvailableAsync() first.
Why does Sharing.shareAsync not work with my URL?
shareAsync takes a local file URL, not a web link. Download the file into the cache with File.downloadFileAsync from expo-file-system, then share the downloaded file's uri.
Does expo-sharing work in Expo Go?
Yes, expo-sharing is included in Expo Go, so sending files works there. Receiving shares from other apps needs the config plugin and a new build.
How do I know if the user actually shared something?
On iOS, Share.share resolves with sharedAction or dismissedAction. On Android it always resolves with sharedAction, so you cannot reliably tell whether the user completed the share.
Can my Expo app appear in other apps' share sheets?
Yes, with the expo-sharing config plugin (ios.enabled and android.enabled plus the content types you accept) and the useIncomingShare hook. Expo marks this as experimental, and on iOS it relies on behavior Apple does not officially support.
Why is my share sheet in the wrong place on iPad?
On iPad the sheet is a popover that needs an anchor. Pass the anchor option (x, y, width, height of the tapped button) so it points at the right spot.
Last reviewed by David on October 17, 2026

