Image Resizer plugin import error

#1

Hello, everyone.
I am trying to use image resizer plugin to change quality and reduce size of an image taken from phone storage (via photo viewer plugin). After resizer plugin is successfully installed , I am importing it in app.module providers, but I get an error both from TS lint and chrome console.
TS lint error:
image
Chrome console error:


Is there an error in plugin itself or what am I missing?

#2

Refer here: Ionic native issue in ionic app

#3

Thanks a lot, that solved my issue! now “@ionic-native/image-resizer”: “^4.20.0” works. Don’t know why latest version didn’t work tho…

#4

it was due to the upgrade of ionic to v4