miguelpruivo / flutter_file_picker

File picker plugin for Flutter, compatible with mobile (iOS & Android), Web, Desktop (Mac, Linux, Windows) platforms with Flutter Go support.
MIT License
1.29k stars 632 forks source link

Support for OneDrive #1299

Open csnelsonchu opened 1 year ago

csnelsonchu commented 1 year ago

Would there be support for OneDrive in the near future? If not what is the best way to contribute to support this integration?

philenius commented 1 year ago

Hi @csnelsonchu , I assume that you're referring to our Windows desktop implementation? Thanks for letting us know that files from OneDrive cannot be picked. Our Windows implementation uses the OPENFILENAMEW struct. You could browse the official documentation here: https://learn.microsoft.com/en-us/windows/win32/api/commdlg/ns-commdlg-openfilenamew Maybe, you'll find a flag that enables picking of OneDrive/cloud files

philenius commented 1 year ago

Btw, on Windows 11, I can pick files from OneDrive:

pick-from-onedrive

The only prerequisite is that the OneDrive client is running so that the selected file can be downloaded.

csnelsonchu commented 1 year ago

Hi guys, I am actually looking to use flutter web to select from from one-drive cloud storage. I'm guessing that is not supported, correct?

12people commented 6 months ago

Are any web services supported, though? If it's in scope, it would only be fair to also support other services. If it's not in scope, then it's best left for another package.