Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use NSCachesDirectory... #141

Merged
merged 1 commit into from Oct 22, 2019
Merged

Use NSCachesDirectory... #141

merged 1 commit into from Oct 22, 2019

Commits on Oct 19, 2019

  1. Use NSCachesDirectory...

    instead of NSTemporaryDirectory
    
    NSCachesDirectory is better suited for this use case -- can be cleared when storage is running low, but not cleared arbitrarily / on restart :) 
    
    NSCachesDirectory is the directory that the officially supported `path_provider` package returns upon calling it's `getTemporaryDirectory()` method.
    
    path_provider Packaged referenced here:
    https://pub.dev/packages/path_provider
    https://flutter.dev/docs/cookbook/persistence/reading-writing-files
    kltdwrds committed Oct 19, 2019
    Configuration menu
    Copy the full SHA
    b3c19d4 View commit details
    Browse the repository at this point in the history