For some reason when I open the share sheet on iOS, it will dismiss the sheet the first time then I cannot open the share sheet again and will get the following error message.
Another item is being shared. Await the ‘shareAsync’ request and then share the item again
Information:
- SDK Version: 43
- Platforms: iOS
const handleShareFile = async () => {
try {
const canShare = await Sharing.isAvailableAsync();
if (canShare) {
await Sharing.shareAsync(fileUri);
}
} catch (error) {
console.error(error);
}
};