sidlatau / flutter_document_picker

Allows user pick a document. Picked document is copied to app temporary directory. Optionally allows pick document with specific extension only.
Apache License 2.0
41 stars 29 forks source link

Feature/multiple selection #46

Closed alexei-kruk-idf closed 1 year ago

sidlatau commented 1 year ago

@alexei-kruk-idf thanks for the PR!

LabN36 commented 1 year ago

This PR is breaking the plugin in Android.

I'm assuming because of this line https://github.com/sidlatau/flutter_document_picker/blob/master/android/src/main/kotlin/com/sidlatau/flutterdocumentpicker/FlutterDocumentPickerDelegate.kt#L72

i believe it should be intersectedExtension.isEmpty() instead of intersectedExtension.isNotEmpty() or !intersectedExtension.isEmpty()

@alexei-kruk-idf

sidlatau commented 1 year ago

@LabN36, thanks for the comment. I just released v5.2.3 with the proposed fix, please check it.