Ionic 3 Cordova plugin gives undefined error

Hello,

post what plugin you use. Maybe someone has solved this in the past.

The error says that your declare var CustomPlugin: any; is not working properly.
That problem could be, that plugin paths could be declared different. Look here How to use non native plugins on Ionic?

Best regards, anna-liebt