Skip to content

Share Extension Support for Sharing Text + Files Together #16

Description

@GamePatty

Describe the current problem and the solution you would like

Currently, the Share extension in GMEXT-MobileUtils only allows sharing either text or a file, but not both together. This creates a limitation when developers want to provide richer share options, such as sending a message body along with an attached file (e.g., text + PDF, text + image, text + file).
New Path for this type of share is "text/image"

I want to request Official support for sharing text and files in a single call.

A possible implementation could be:

Keep the existing MIME body argument for text.

Introduce a new argument, e.g., fileName or filePath, for the file to be shared.

Function will look like MobileUtils_Share_Open(Title, Path, BodyText, FileName)

The share intent would then bundle both text + file when invoked.

Added a Working Extension file for reference.

ShareExtension.zip

Activity

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

    MobileUtilsThis issue affects the specific named extensiondocumentationThis issue also requires changes to be made to the extension's documentationextensionThis issue is to do with any of the official extensions

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions