alinz / react-native-share-extension

react-native as an engine to drive share extension
MIT License
763 stars 398 forks source link

touch event doesn't return back to the application that triggered the share on IOS #104

Open Adenon opened 6 years ago

Adenon commented 6 years ago

I used this code in the Share file , it work perfectly on Android, but on IOS (iphone 6, ios 11, on simulator ) , the touch event is not returning to the application that fires the share.

export default function Share() { async function shareUrl () { try { var { type, value } = await ShareExtension.data(); ShareExtension.close(); } catch (e) { console.log(e); } } shareUrl(); }

. And another question please, this module seems to work only on latest version of ios and android , am I wrong ?