Updates FilePickerPlatform to MethodChannelFilePicker on IO implementation

This commit is contained in:
Miguel Ruivo 2020-07-23 17:25:21 +01:00
parent b63125dfcf
commit 1e78f28220
3 changed files with 7 additions and 3 deletions

View File

@ -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.

View File

@ -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._();

View File

@ -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"