diff --git a/src/providers/image-loader.ts b/src/providers/image-loader.ts index 53548ee..f216b6d 100644 --- a/src/providers/image-loader.ts +++ b/src/providers/image-loader.ts @@ -57,6 +57,8 @@ export class ImageLoader { */ clearCache(): void { + if (typeof cordova === 'undefined') return; + const clear = () => { if (!this.isInit) {