DylanVann / react-native-fast-image

🚩 FastImage, performant React Native image component.
MIT License
8.21k stars 1.51k forks source link

_reactNativeFastImage.default.clearDiskCache is not a function #833

Open valery-lavrik opened 3 years ago

valery-lavrik commented 3 years ago

"react-native-fast-image": "^8.5.11",

try { await FastImage.clearDiskCache(); } catch (error) { console.log('clearDiskCache', error); }

clearDiskCache TypeError: _reactNativeFastImage.default.clearDiskCache is not a function at _callee$ (E:\RN\free-comics-lvv\src\react-native-image-viewer-master\image-viewer.component.tsx:694) at tryCatch (E:\RN\free-comics-lvv\node_modules\regenerator-runtime\runtime.js:63) at Generator.invoke [as _invoke] (E:\RN\free-comics-lvv\node_modules\regenerator-runtime\runtime.js:294) at Generator.next (E:\RN\free-comics-lvv\node_modules\regenerator-runtime\runtime.js:119) at tryCatch (E:\RN\free-comics-lvv\node_modules\regenerator-runtime\runtime.js:63) at invoke (E:\RN\free-comics-lvv\node_modules\regenerator-runtime\runtime.js:155) at E:\RN\free-comics-lvv\node_modules\regenerator-runtime\runtime.js:190 at tryCallTwo (E:\RN\free-comics-lvv\node_modules\promise\setimmediate\core.js:45) at doResolve (E:\RN\free-comics-lvv\node_modules\promise\setimmediate\core.js:200) at new Promise (E:\RN\free-comics-lvv\node_modules\promise\setimmediate\core.js:66)

vinpro24 commented 3 years ago

Me too. Same issue

imransiddiqui511 commented 2 years ago

same here

vigyanhoon commented 2 years ago

Can this be fixed please?

valery-lavrik commented 2 years ago

It seems the project is dead

ponchautf commented 2 years ago

Same error here, can we expect a fix soon?