Skip to content

[Share][Bug] Text not showing in share popup #79201

@jeremiahlukus

Description

@jeremiahlukus

Issue

When using the share plugin i would expect the text to show in the share modal however i only see the app logo
Share only takes 3 args so i dont think i am missing something

  static Future<void> share(
    String text, {
    String? subject,
    Rect? sharePositionOrigin,
  })

How to reproduce

 await Share.share("Hey im some text",
                            subject: "yoyo im a subject",
                            sharePositionOrigin:
                                box.localToGlobal(Offset.zero) & box.size);

Screen Shot 2021-03-27 at 11 44 26 AM

Versions

share: ^2.0.1

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 2.0.2, on Mac OS X 10.15.7 19H524 darwin-x64, locale en)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.5)
[✓] VS Code (version 1.53.2)
[✓] Connected device (3 available)

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions