All Projects → giandifra → simple_share

giandifra / simple_share

Licence: MIT license
A Flutter plugin for share image, video or file

Programming Languages

java
68154 projects - #9 most used programming language
dart
5743 projects
swift
15916 projects
ruby
36898 projects - #4 most used programming language
kotlin
9241 projects
objective c
16641 projects - #2 most used programming language

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");

Issues

For this iOS error:

[!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

see this issues

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].