algolia / algoliasearch-helper-flutter

⚡️ Building block to create instant-search applications with Flutter
https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/flutter/
Other
21 stars 14 forks source link

fix: FileSystemException: Creation failed #87

Closed nerder closed 11 months ago

nerder commented 1 year ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue Fix #84
Need Doc update no

Describe your change

I've simply installed path_provider and prefixed the box path with a temporary directory so that it will not cause any FileSystemException when attempting to write a box in a ReadOnly directory.

What problem is this fixing?

Hive.boxOpen when provided a path is attempting to write in that path, if the directory is read-only it will trigger an exception.

VladislavFitz commented 11 months ago

Closed, as fixed in #88 .