Closed spidgorny closed 5 years ago
@spidgorny Any suggestions on API?
How about getExternalStorageDirectory()
from path_provider
?
No support for iOS - I know, then fall back to getApplicationDocumentsDirectory()
.
@see https://github.com/flutter/plugins/blob/master/packages/path_provider/lib/path_provider.dart#L61
@spidgorny I meant localstorage api. I think it's better to leave a choice for package users, rather than just changing file location internally. How about
new LocalStorage(key, path)
so that users could specify location themselves (using path_provider API directly)
Yes, that sounds even better.
Current version stores data into /data folder which is not easily accessible. Would be nice to be able to save into external storage (sd card).