Please Login to Continue

Free Software Development Articles.Email List

Advertise Here

Ionic Cordova Import Plugin Comfusion

When I was developing an ionic app, It wasn't allowing me to reference push plugin and AlertController in the ionic app (app.component). The problem was that I was making a mistake importing plugin module in the constructor: Instead of (private instanceOfModuleOrPlugin: Actual Module) as doing it the opposite hence making an error. It is supposed to be a private push: Push. push is the instance and Push is the actual Class imported in app.componete.


Technology published
Buy Me Coffee

Was this page helpful?

Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful..



© 2020 - ErnesTech - Privacy