Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this.clearCache() is not found #70

Open
alexandruantonica opened this issue Nov 16, 2019 · 0 comments
Open

this.clearCache() is not found #70

alexandruantonica opened this issue Nov 16, 2019 · 0 comments

Comments

@alexandruantonica
Copy link

Platform: iOS only

JavaScript error:
file:///node_modules/nativescript-web-image-cache/web-image-cache.js:117:0: JS ERROR TypeError: undefined is not an object (evaluating 'this.clearCache')
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: TypeError: undefined is not an object (evaluating 'this.clearCache')
at
setCacheLimit(file:///node_modules/nativescript-web-image-cache/web-image-cache.js:117:0)
at ./app/app.component.ts(file:///src/app/app.component.ts:10:14)

The problems seem to be on the iOS plugin's file (here). I guess it is clearCache instead of this.clearCache().
In Android everything is alright but probably because there is a clearCache function but never used (see this)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant