I'm trying to take a photo with my iPhone and access the original file (*.HEIC if picture is taken by an iPhone) afterwards using the image_picker version 0.8.2 plugin in Flutter.
Below my problem:
final XFile photo = await _picker.pickImage(source: ImageSource.camera);
print(photo.path);
The print result shows:
flutter: /private/var/mobile/Containers/Data/Application/660C28A9-9167-417B-8FCC-F7CC234F027C/tmp/image_picker_9B836DE1-A90D-4270-9151-1BD420D24DCA-9388-0000069CA5F4337B.jpg
which is not the path of the original File I want to access to. This seems more to be the cached image path. But what I am actually expecting is the path of the *.HEIC file.
Anyone who could help me here?
Thanks!