parent
0609cae84a
commit
d2ecbd3d30
|
@ -1,3 +1,6 @@
|
||||||
|
## 2.0.5
|
||||||
|
Android: Fixes [#402](https://github.com/miguelpruivo/flutter_file_picker/issues/402).
|
||||||
|
|
||||||
## 2.0.4
|
## 2.0.4
|
||||||
Desktop (Go): Fixes directory pick on Linux.
|
Desktop (Go): Fixes directory pick on Linux.
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,10 @@ public class FilePickerDelegate implements PluginRegistry.ActivityResultListener
|
||||||
@Override
|
@Override
|
||||||
public boolean onActivityResult(final int requestCode, final int resultCode, final Intent data) {
|
public boolean onActivityResult(final int requestCode, final int resultCode, final Intent data) {
|
||||||
|
|
||||||
|
if(type == null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (requestCode == REQUEST_CODE && resultCode == Activity.RESULT_OK) {
|
if (requestCode == REQUEST_CODE && resultCode == Activity.RESULT_OK) {
|
||||||
|
|
||||||
if (eventSink != null) {
|
if (eventSink != null) {
|
||||||
|
|
|
@ -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.0.4
|
version: 2.0.5
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
flutter:
|
flutter:
|
||||||
|
|
Loading…
Reference in New Issue