diff --git a/CHANGELOG.md b/CHANGELOG.md index 55137373..dccd85c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 10.3.5 +## iOS +- Fixed an error when loading large files (>= 2GB~). + ## 10.3.4 ## Android - Detect HEIC and HEIF extensions as valid image diff --git a/ios/file_picker/Sources/file_picker/FilePickerPlugin.m b/ios/file_picker/Sources/file_picker/FilePickerPlugin.m index 8456fdac..40e19134 100644 --- a/ios/file_picker/Sources/file_picker/FilePickerPlugin.m +++ b/ios/file_picker/Sources/file_picker/FilePickerPlugin.m @@ -565,7 +565,7 @@ -(void)picker:(PHPickerViewController *)picker didFinishPicking:(NSArray_group); return; @@ -583,26 +583,17 @@ -(void)picker:(PHPickerViewController *)picker didFinishPicking:(NSArray_result([FlutterError errorWithCode:@"file_picker_error" - message:@"Failed to process any images" + message:@"Failed to process any images/video" details:[errors componentsJoinedByString:@"\n"]]); } self->_result = nil; diff --git a/pubspec.yaml b/pubspec.yaml index 96ae9086..29958e55 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: A package that allows you to use a native file explorer to pick sin homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker repository: https://github.com/miguelpruivo/flutter_file_picker issue_tracker: https://github.com/miguelpruivo/flutter_file_picker/issues -version: 10.3.4 +version: 10.3.5 dependencies: flutter: