birdofpreyru/react-native-static-server

The path resolved by `resolveAssetsPath()` is read-only on iOS / macOS...

birdofpreyru opened this issue · 1 comments

thus can't be used alongside WebDAV module. This should be documented, perhaps in the section on WebDAV configuration. Perhaps add options argument to resolveAssetsPath() so that if we need a writable location for WebDAV, it returns some standard path in the temporary folder — i.e. should think later, what seems the most convenient.

In my current opinion, the best approach here is to use WebDAV module alongside mod_alias to make it work against a writable location, even if other assets live in a readonly place pointed by resolveAssetsPath(). Thus, probably no need for code changes, but maybe some README improvements.