Skip to content

Latest commit

 

History

History
 
 

share_plus

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

share_plus_tizen

The Tizen implementation of share_plus.

Usage

To use this plugin, add share_plus and share_plus_tizen as dependencies in your pubspec.yaml file.

dependencies:
  share_plus: ^2.1.2
  share_plus_tizen: ^1.0.0

Example

Import the library.

import 'package:share_plus/share_plus.dart';

Then invoke the static share method anywhere in your Dart code.

Share.share('check out my website https://example.com');

Limitations

  • This plugin is only supported on Galaxy Watch devices running Tizen 4.0 or later.
  • Passing in an optional argument subject to Share.share() or invoking Share.shareFiles() leads to a PlatformException because no e-mail app is available on watch devices.
  • You cannot choose which application to use for sharing. Only the Message app can handle sharing requests.

Required privileges

To use this plugin, you need to declare privileges in tizen-manifest.xml of your application.

<privileges>
  <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
</privileges>