Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 9df8716

Browse files
committed
Fix an issue when camera is chosen
When camera is chosen the originalAsset will be nil which leads wrong orientation settings. This can be YES all the time because limited access only available with iOS 14+ and it will be handled with PHPicker implementation.
1 parent 407483a commit 9df8716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/image_picker/image_picker/ios/Classes/FLTImagePickerPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ - (void)imagePickerController:(UIImagePickerController *)picker
462462
image = [FLTImagePickerImageUtil scaledImage:image
463463
maxWidth:maxWidth
464464
maxHeight:maxHeight
465-
isMetadataAvailable:originalAsset != nil];
465+
isMetadataAvailable:YES];
466466
}
467467

468468
if (!originalAsset) {

0 commit comments

Comments
 (0)