Addresses an issue that could prevent iOS 14 users from accessing media data
This commit is contained in:
parent
346caf94d9
commit
acf3f1b248
|
@ -1,3 +1,6 @@
|
|||
## 2.0.1+2
|
||||
iOS: Addresses an issue that could prevent users from viewing picked media elements (pictures/videos) from gallery on iOS 14.
|
||||
|
||||
## 2.0.1+1
|
||||
Fixes README screenshots.
|
||||
|
||||
|
|
|
@ -365,8 +365,7 @@ didPickDocumentsAtURLs:(NSArray<NSURL *> *)urls{
|
|||
|
||||
for (PHPickerResult *result in results) {
|
||||
dispatch_group_enter(group);
|
||||
[result.itemProvider loadFileRepresentationForTypeIdentifier: @"public.item"
|
||||
completionHandler:^(NSURL * url, NSError * error) {
|
||||
[result.itemProvider loadInPlaceFileRepresentationForTypeIdentifier:@"public.item" completionHandler:^(NSURL * _Nullable url, BOOL isInPlace, NSError * _Nullable error) {
|
||||
[urls addObject:url];
|
||||
dispatch_group_leave(group);
|
||||
}];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
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.
|
||||
homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker
|
||||
version: 2.0.1+1
|
||||
version: 2.0.1+2
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
|
Loading…
Reference in New Issue