-
-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I'm trying to show the user an alert when they haven't selected a folder to let them know their file won't be downloaded, but in the case that no URI is returned from the document tree in openDocumentTree, nothing is sent back to flutter.
I don't know whether it makes sense to do something like pendingResult.second.success(null) (or even pass the uri regardless of whether it is null) or to return an error case that would need to be handled in flutter, such as an error saying that no folder was chosen.
If you have a preference I'm happy to open a PR against this.
I'm trying to make use of the latest version from master at the moment as I needed access to some of the code as-yet unreleased on pub.dev.
Thanks!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working