react-native-share: Share single iOS base64 img problem

Share single method works on android perfectly.

iOS sharing whatsapp, fb, twitter does not show my base64 img

const storedImg = data:image/png;base64,${resp.base64Img}; Share.shareSingle({ title: _('Tone Tone High Score Share'), message: "https://apple.co/2pmdyte", url: storedImg, subject: "https://apple.co/2pmdyte", social }).then(res => res) .catch(e => e);

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 22 (4 by maintainers)

Most upvoted comments

@vivekvijayakrishnan I managed to work around this in 1.2.1- instead of sharing with base64, I used just the actual file uri instead. It worked for me

did anyone solve this?