-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
API: ShareBugPlatform: iOSiOS applications.iOS applications.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
On iOS, the share text dialog won't resolve the returned promise when the dialog is dismissed by pressing the Cancel button or by pressing outside the dialog. Other share options resolve the promise as expected.
shareLink = async () => {
await Share.share({ message: 'message-to-share' }) // Hangs if the dialog is dismissed by the Cancel button or by pressing outside the dialog
}React Native version: 0.61.2
Steps To Reproduce
- Open share dialog with
Share.share(content, options) - Dismiss the dialog by pressing Cancel or pressing outside the dialog.
Describe what you expected to happen: The promise returned by Share.share(content, options) should be resolved when the dialog is dismissed.
Snack, code example, screenshot, or link to a repository:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
API: ShareBugPlatform: iOSiOS applications.iOS applications.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.