ivehement / saf

Flutter plugin that leverages Storage Access Framework (SAF) API to get access and perform the operations on files and folders.
https://pub.dev/packages/saf
MIT License
17 stars 17 forks source link

Support for SAF Custom Document Provider #29

Open tomekit opened 10 months ago

tomekit commented 10 months ago

I am wondering if there are any plans to support custom document provider: https://developer.android.com/guide/topics/providers/create-document-provider

This would allow implementing a sort of virtual mount/drive for a Flutter app which in turns e.g. connect to cloud, network or any remote file system.

There would have to be a way to implement at least those 4 methods: https://developer.android.com/guide/topics/providers/create-document-provider#subclass queryRoots() queryChildDocuments() queryDocument() openDocument()

jvoltci commented 4 months ago

Interesting. We would love to add that into here. Please feel free to raise request .