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

Version Mismatch #15

Closed jonathanroze closed 4 years ago

jonathanroze commented 4 years ago

Hi,

I'm trying to use your Image component but Expo return this error:

Version mismatch Javascript version 0.61.4 Native version: 0.62.2

Thanks

daksh23 commented 4 years ago

use in render method its solve your problem

jdleo commented 4 years ago

Also getting the same error

jdleo commented 4 years ago

For now, just fix this by writing the component yourself. (copy paste, takes 5 seconds)

Copy the code found in index.js of this repository and paste it in your /components , after, install the dependencies by doing

expo install expo-crypto
expo install expo-file-system

then import your new CachedImage component wherever you want from your /components directory.

wagslane commented 4 years ago

Just updated the package.json to allow newer versions.

dhee9000 commented 3 years ago

still getting this issue on the latest version, it says JS version 0.63.3 Native version 0.62.2 (which is the version I am using). I am using the bare workflow if that makes a difference. Using @jdleo 's solution has resolved it for me for now

carissacks commented 3 years ago

still getting this issue on the latest version, it says JS version 0.63.3 Native version 0.62.2 (which is the version I am using). I am using the bare workflow if that makes a difference. Using @jdleo 's solution has resolved it for me for now

+1