I can’t return to my expo go app after sharing an image on Facebook using expo-sharing?

Asked

Viewed 10 times

0

I’m using expo-sharing (Android) to share images. When I share for Whatsapp, a new window is opened with the Whatsapp app, but when I share with Facebook Lite, I can no longer return in the Expo app, IE, Facebook Lite overlaps my Expo app. help please..

const optionsParty = {

 mimeType: 'image/jpg',
 dialogTitle: 'message Text',
 message: 'Message to share VIVA',
 UTI: 'image/jpg'

};

const openShareDialogAsync = async () => {

if (!(await Sharing.isAvailableAsync())) {
  alert(`Uh oh, sharing isn't available on your platform`);
  return;
}

Return await Sharing.shareAsync( selectedImage.localUri,optionsPartilha );

};

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.