Skip to content

[Question]: Showing "Plain text and 1 Document" text in share bottomsheet in iOS. #3141

Closed as not planned
@vichuer

Description

@vichuer

What is your question?

I am using share_plus plugin to share an image and a text to whatsapp. But on the bottom sheet that pops up to select which app to share, The preview of the image is showing but the text is not showing instead "Plain text and 1 Document" is shown.
Please refer the screenshot for better understanding.

share_plus_image1

Is there any way to change that and show custom text there?

This is how I am using the plugin :

Share.shareXFiles( [XFile(file!.path)], subject: 'I just got screened!', text: 'I just got screened!', ).then((value) { if (value.status == ShareResultStatus.success) { pop(context); } });

Checklist before submitting a question

  • I searched issues in this repository and couldn't find such bug/problem
  • I Google'd a solution and I couldn't find it
  • I searched on StackOverflow for a solution and I couldn't find it
  • I read the README.md file of the plugin
  • I am using the latest version of the plugin
  • All dependencies are up to date with flutter pub upgrade
  • I did a flutter clean
  • I tried running the example project

Metadata

Metadata

Assignees

No one assigned

    Labels

    StalequestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions