react-native-image-cache-wrapper
react-native-image-cache-wrapper copied to clipboard
TypeError: Cannot read property 'DocumentDir' of undefined
I get this error simply by importing the component into my code:
import { CachedImage } from 'react-native-image-cache-wrapper';
Here are the commands I used to install the component:
$ npm install react-native-image-cache-wrapper --save $ npm install [email protected] --save $ react-native link rn-fetch-blob $ RNFB_ANDROID_PERMISSIONS=true react-native link
If I comment out the import, the code runs without error or warning messages.
I'm running react-native version 0.61.4. I'm also running Expo 36.0.0, if that helps.
Thanks!
Did you find any solution to this?