Skip to content

share images on social apps #23079

Closed
Closed

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

Activity

  1. react-native-bot commented on Jan 19, 2019

    @react-native-bot
    Collaborator

    We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

    Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

    If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.

  2. locked as resolved and limited conversation to collaborators on Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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