react-native-share: Share image and message on ios not working

Hello,

I’m trying to share image and message in ios but with no luck using version 3.7.0.

here is my code:

const base64Image = await RNFS.readFile(
        'file://'+imgUrl',
        'base64',
      );
      await Share.open({
        url: 'data:image/png;base64,'+base64Image,
        title: _t('trip_recap.share_title'),
        message: 'message text',
      });

If i use both message and url i only see message.

Can anyone help?

About this issue

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

Most upvoted comments

same issue here

same issue. Any solution?

I’m having the same issue. Anyone find a fix?

I am running into the same issue.

Same issue. Any update?

Same issue

Any luck? Similar issue here.