wagslane / react-native-expo-cached-image

Cached image component for Expo's managed workflow
https://qvault.io/2020/02/04/how-to-cache-images-react-native-expo-managed
MIT License
44 stars 8 forks source link

How can I cache an image without use query params #18

Open jyepesr1 opened 4 years ago

jyepesr1 commented 4 years ago

I'm using S3 pre-signed URLs and I would like to pre-load them in the useEffect hook and later use them with the cache capability, but how can I create the cache hash key without taking into account the query params? I just want to use query params to get them and then I use them in the Image componet with just the URL without any query params.

wagslane commented 3 years ago

Not sure I understand the issue... Is the image not available a the URL? If it is, it should be downloaded and cached...