alexrintt / shared-storage

Flutter plugin to work with Android external storage.
http://alexrintt.io/shared-storage/
MIT License
52 stars 26 forks source link

Documentation outdated #156

Open chickahoona opened 8 months ago

chickahoona commented 8 months ago

Describe the bug There seems to be no documentation for 0.8.1 only 0.7.0 So for example the documented says this is how to import saf:

https://alexrintt.io/shared-storage/#partial-support-for-storage-access-framework

But that import is not recognized. I assume its something like:

import 'package:shared_storage/shared_storage.dart' as saf;

But even with the adjusted import I may miss something as for example this call here never "returns":

final destinationDirectory = await saf.openDocumentTree();

So I see the folder picker and everything but when I pick the folder and approve that the app should receive access there, the "await" still doesn't finish. So I am probably missing some part of the setup?