Skip to content

Commit 877b0d8

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 9c021ad commit 877b0d8

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
@@ -460,7 +460,7 @@ - (void)imagePickerController:(UIImagePickerController *)picker
460460
image = [FLTImagePickerImageUtil scaledImage:image
461461
maxWidth:maxWidth
462462
maxHeight:maxHeight
463-
isMetadataAvailable:originalAsset != nil];
463+
isMetadataAvailable:YES];
464464
}
465465

466466
if (!originalAsset) {

0 commit comments

Comments
 (0)