react-native-svg-app-icon
react-native-svg-app-icon copied to clipboard
Improved caching
Currently the caching logic relies on file timestamps, which doesn't work well if the input file is changed to one with an older timestamp. This can happen with source control or configuration changes. See #63
Would make sense to use a hash based cache control mechanism. This could include a mapping from input file hashes to output file hashes. The cache data could be stored somewhere similarly where react native stores its data, which seems to be under $TMPDIR/react-native
.