share images on social apps

#1

This is the code I am using

Share.share({
            message: caption,
            url: "data:image/" + type + ";base64," + data,
            type: 'image/' + type,
            title: 'Gread'
          }, {
            // Android only:
            dialogTitle: 'Share this comic :)',
            // iOS only:
            excludedActivityTypes: [
              'com.apple.UIKit.activity.PostToTwitter'
            ]
          })

when i use this, share modal pops up, but i cant share any image.
although, I am able to share links and text

closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.