Skip to content

Linux Support #75

Closed Answered by JaffaKetchup
buraktabn asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @buraktabn,

RootDirectory.normalCache and RootDirectory.temporaryCacheuse getApplicationDocumentsDirectory and getTemporaryDirectory (from 'path_provider') respectively behind the scenes. As you can see from the official table below, both of these should be supported by 'path_provider' - indeed, if you are using getTemporaryDirectory like in your second example, that's 'path_provider'.

The error you had may occur when installing this package before a full app restart. A full app restart usually resolves issues similar to that one.

Note you may run into two issues with your implementation:

  1. Using temporaryCache/getTemporaryDirectory usually isn't recommended because they can be cleare…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JaffaKetchup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants