Skip to content

A Flutter plugin for share image, video or file

License

Notifications You must be signed in to change notification settings

sensiblearts/simple_share

 
 

Repository files navigation

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.

About

A Flutter plugin for share image, video or file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 40.2%
  • Dart 18.3%
  • Swift 14.5%
  • Ruby 13.3%
  • Kotlin 7.7%
  • Objective-C 6.0%