Skip to content

share images on social apps #23079

@mrishan1993

Description

@mrishan1993

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions