react-native-image-filter-kit icon indicating copy to clipboard operation
react-native-image-filter-kit copied to clipboard

Force re render and avoid caching

Open pihomeserver opened this issue 4 years ago • 0 comments

Currently using :

  • Expo managed workflow v44
  • React native 0.64.3
  • React native image filter kit 0.8.0

My app (iOS only for now) is built using EAS in order to use native plugins. I have 2 buttons in a view

  • First one flips horizontal the image and save it in place of the original image (via ImageManipulator)
  • Second one applies a filter to the image (switching between Normal and Grayscale)

The filter works well except when i apply a flip, when i change the file content. It seems that the ImageFilter cached the original image and does not take into account a potential content change.

Do you have any idea how to avoid caching ?

pihomeserver avatar Feb 08 '22 16:02 pihomeserver