share_tizen


Deprecation Notice

The share plugin has been replaced by the Flutter Community Plus Plugins version, share_plus. Consider migrating to share_plus and its Tizen implementation share_plus_tizen.


pub package

The Tizen implementation of share.

Usage

To use this plugin, add share and share_tizen as dependencies in your pubspec.yaml file.

dependencies:
  share: ^2.0.1
  share_tizen: ^2.0.1

Example

Import the library.

import 'package:share/share.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 watche 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>

Libraries