hpoul / file_picker_writable

Flutter plugin to choose files which can be read, referenced and written back at a later time.
https://pub.dev/packages/file_picker_writable
MIT License
17 stars 13 forks source link

Implement disposeAllIdentifiers #21

Closed amake closed 3 years ago

amake commented 3 years ago

Per discussion here: https://github.com/hpoul/file_picker_writable/pull/19#issuecomment-819555749

Note that it looks like a persisted grant can be restored without opening a file picker for the lifetime of the process that obtained the grant even after you have disposed the grant.

After the process exits (the app is restarted) the grant is permanently gone until the user explicitly picks the file again.

hpoul commented 3 years ago

Sorry, not sure why I didn't merge this. Looks good, thanks!