flutter-form-builder-ecosystem / form_builder_file_picker

File picker field widget for FlutterFormBuilder.
https://pub.dev/packages/form_builder_file_picker
BSD 3-Clause "New" or "Revised" License
15 stars 33 forks source link

Desktop - Windows Permission issues MissingPluginException #23

Closed Govindbetterlives closed 1 year ago

Govindbetterlives commented 2 years ago

Hi, its asking permission.

MissingPluginException(No implementation found for method requestPermissions on channel flutter.baseflow.com/permissions/methods)

LukasDoesDev commented 2 years ago

Are you using a platform other than Android or iOS?

Govindbetterlives commented 2 years ago

Yes, I am using Windows platform.

jafhueppe commented 2 years ago

Same problem is on a macOS (intel) machine.

LukasDoesDev commented 2 years ago

Same problem is on a macOS (intel) machine.

I came here because of Linux issues :)

I ended up making my own file picker

gbutler3 commented 2 years ago

Windows, same issue, just wondering if any one has found a fix for this yet?

divan commented 1 year ago

Any update on this? Underlying file_picker package seems to support desktop builds, so it should work for FormBuilder wrapper package too, right?

I see that error comes from https://pub.dev/packages/permission_handler plugin, which doesn't support desktop platforms at the moment.

I'm playing around with fork, and just removing that dependency make plugin work on MacOS (at least debug build). Haven't tried it yet with iOS/Android/Web, work in progress.

deandreamatias commented 1 year ago

Hi! I made a update to avoid require permissions to windows, because Windows hasn't storage permissions which are used by this package. Please test and reopen if this bug isn't fixed

driss-bonbot commented 1 year ago

Still doesn't work on macos. Removing the check makes it work (at least in debug mode). Any chance of this being fixed?