Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Enhancement: Add the ability to Share a file in the Xamarin.Essentials.Share #695

Closed
solomonfried opened this issue Jan 31, 2019 · 2 comments

Comments

@solomonfried
Copy link
Contributor

Bug report best practices: Submitting Issues

Description

Feature request Add the ability to Share a file in the Xamarin.Essentials.Share

The current version of Share only supports sharing text and URI.
Supporting File sharing would resolve many issues user have with saving files outside of the Local App Data space.

It would be supported by added a new class
ShareFileRequest {
string FilePath;
string ContentType;
string Title;
}

It would be called using Share.RequestAsync(new ShareFileRequest());

An example of how to implement a file share is here (I have not tried this)
https://www.syncfusion.com/kb/8707/how-to-share-the-pdf-document-in-xamarin-forms-platform

Steps to Reproduce

Expected Behavior

Actual Behavior

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE:
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Screenshots

Reproduction Link

@mattleibow
Copy link
Contributor

This is most probably coming with #416

@jamesmontemagno
Copy link
Collaborator

Duplicate of: #425

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants