image_picker_tizen 2.3.0 image_picker_tizen: ^2.3.0 copied to clipboard
Tizen implementation of the image_picker plugin.
image_picker_tizen #
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
(onlyImageSource.gallery
is available assource
) - ✅
ImagePicker.pickMultiImage
- ✅
ImagePicker.pickMedia
- ❌
ImagePicker.pickVideo
(no file manager app available) - ❌
ImagePicker.retrieveLostData
(Android-only) - ✅
ImagePicker.supportsImageSource
(onlyImageSource.gallery
is available assource
)
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>