kfiroo / react-native-cached-image

CachedImage component for react-native
MIT License
938 stars 470 forks source link

ClearCache doesn't return anything after is finished #116

Open LorandP opened 6 years ago

LorandP commented 6 years ago

I followed your example but nothing is returned after clear cache so I don't know if it is done or not, if it was successful or not.

import { CachedImage, ImageCacheManager } from 'react-native-cached-image';
const defaultImageCacheManager = ImageCacheManager();
defaultImageCacheManager.clearCache().then(() => console.log('CACHE CLEADER'));

"react": "16.2.0", "react-native": "0.53.0", "react-native-cached-image": "1.4.3",

parisaabasian commented 5 years ago

same here