Fixes #606
This commit is contained in:
parent
7c24fba9e8
commit
627c0a31b2
|
@ -1,3 +1,8 @@
|
||||||
|
## 2.1.7
|
||||||
|
### iOS
|
||||||
|
- Fixes an issue where a crash could happen when picking a lot of media files in low memory devices ([#606](https://github.com/miguelpruivo/flutter_file_picker/issues/606)).
|
||||||
|
- Updates `preferredAssetRepresentationMode`. Thank you @nrikiji.
|
||||||
|
|
||||||
## 2.1.6
|
## 2.1.6
|
||||||
- Addresses an issue on iOS 14 and later where events `onFileLoading` events weren't being provided ([#577](https://github.com/miguelpruivo/flutter_file_picker/issues/577)).
|
- Addresses an issue on iOS 14 and later where events `onFileLoading` events weren't being provided ([#577](https://github.com/miguelpruivo/flutter_file_picker/issues/577)).
|
||||||
|
|
||||||
|
|
|
@ -266,8 +266,10 @@
|
||||||
[dkImagePickerController setDidSelectAssets:^(NSArray<DKAsset*> * __nonnull DKAssets) {
|
[dkImagePickerController setDidSelectAssets:^(NSArray<DKAsset*> * __nonnull DKAssets) {
|
||||||
NSMutableArray<NSURL*>* paths = [[NSMutableArray<NSURL*> alloc] init];
|
NSMutableArray<NSURL*>* paths = [[NSMutableArray<NSURL*> alloc] init];
|
||||||
|
|
||||||
for(DKAsset * asset in DKAssets){
|
for(DKAsset * asset in DKAssets) {
|
||||||
[paths addObject:asset.localTemporaryPath.absoluteURL];
|
if(asset.localTemporaryPath.absoluteURL != nil) {
|
||||||
|
[paths addObject:asset.localTemporaryPath.absoluteURL];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[self handleResult: paths];
|
[self handleResult: paths];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: file_picker
|
name: file_picker
|
||||||
description: A package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extension filtering support.
|
description: A package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extension filtering support.
|
||||||
homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker
|
homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker
|
||||||
version: 2.1.6
|
version: 2.1.7
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
flutter:
|
flutter:
|
||||||
|
|
Loading…
Reference in New Issue