Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force re render and avoid caching #99

Open
pihomeserver opened this issue Feb 8, 2022 · 0 comments
Open

Force re render and avoid caching #99

pihomeserver opened this issue Feb 8, 2022 · 0 comments

Comments

@pihomeserver
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant