Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1000 Bytes

README.md

File metadata and controls

36 lines (20 loc) · 1000 Bytes

Simple Share

A Flutter plugin for share file (image, PDF, video, ecc) or text.

Installation

To use the plugin, add simple_share as a dependency in your pubspec.yaml file.

Usage

For share file:

SimpleShare.share(uri: uri.toString());

For share file with subject (like in Gmail)

SimpleShare.share(uri: uri.toString(), subject: "subject example");

For share text:

SimpleShare.share(msg: "shared Text");

For share text with subject (like in Gmail)

SimpleShare.share(msg: "My message"", subject: "subject example");

Example

See the example application source for a complete sample app using the Simple RSA encryption.

TODO

  • fix this: Note: C:\Users\David\mvp\gjapp\simple_share\android\src\main\kotlin\com\juanito21\simpleshare\src\FileHelper.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.