Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.48 KB

File metadata and controls

50 lines (34 loc) · 1.48 KB

image_picker_tizen

pub package

The Tizen implementation of image_picker.

Usage

To use this plugin, add image_picker and image_picker_tizen as dependencies in your pubspec.yaml file.

dependencies:
  image_picker: ^1.0.1
  image_picker_tizen: ^2.3.0

Then you can import image_picker in your Dart code.

import 'package:image_picker/image_picker.dart';

final ImagePicker picker = ImagePicker();
final XFile? image = await picker.pickImage(source: ImageSource.gallery);

For detailed usage, see https://pub.dev/packages/image_picker#example.

Supported devices

  • Galaxy Watch series (running Tizen 5.5 or later)

Supported APIs

  • ImagePicker.pickImage (only ImageSource.gallery is available as source)
  • ImagePicker.pickMultiImage
  • ImagePicker.pickMedia
  • ImagePicker.pickVideo (no file manager app available)
  • ImagePicker.retrieveLostData (Android-only)
  • ImagePicker.supportsImageSource (only ImageSource.gallery is available as source)

Required privileges

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

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