Updates FilePickerPlatform to MethodChannelFilePicker on IO implementation
This commit is contained in:
parent
b63125dfcf
commit
1e78f28220
|
@ -1,3 +1,6 @@
|
|||
## 1.13.0+1
|
||||
Fixes an issue that could prevent `1.13.0` from being built due to missing `allowCompression` property.
|
||||
|
||||
## 1.13.0
|
||||
Adds `allowCompression` property that will define if media (video & image) files are allowed to be compressed by OS when picked. On Android this has no effect as it already returns the original file or an integral copy.
|
||||
|
||||
|
|
|
@ -2,11 +2,12 @@ import 'dart:async';
|
|||
import 'dart:io';
|
||||
|
||||
import 'package:file_picker_platform_interface/file_picker_platform_interface.dart';
|
||||
import 'package:file_picker_platform_interface/method_channel_file_picker.dart';
|
||||
|
||||
export 'package:file_picker_platform_interface/file_picker_platform_interface.dart'
|
||||
show FileType;
|
||||
|
||||
final FilePickerPlatform _filePickerPlatform = FilePickerPlatform.instance;
|
||||
final MethodChannelFilePicker _filePickerPlatform = FilePickerPlatform.instance;
|
||||
|
||||
class FilePicker {
|
||||
FilePicker._();
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
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: 1.13.0
|
||||
version: 1.13.0+1
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
flutter_plugin_android_lifecycle: ^1.0.6
|
||||
file_picker_platform_interface: ^1.3.0
|
||||
file_picker_platform_interface: ^1.3.1
|
||||
|
||||
environment:
|
||||
sdk: ">=2.0.0 <3.0.0"
|
||||
|
|
Loading…
Reference in New Issue