share images on social apps

This is the code I am using

            message: caption,
            url: "data:image/" + type + ";base64," + data,
            type: 'image/' + type,
            title: 'Gread'
          }, {
            // Android only:
            dialogTitle: 'Share this comic :)',
            // iOS only:
            excludedActivityTypes: [

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

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