I have developed a custom Cordova plugin and I am trying to integrate it with an Ionic 2 project that is using TypeScript and Angular 2. While I have successfully added the plugin to the Ionic 2 project, I am facing issues when trying to call methods defined in the plugin's .Java classes. When importing the class in the following way: import Hello from '@ionic-native/hello';
I am encountering an error "Cannot find module '@ionic-native/hello'". Can someone please guide me on how to properly use plugins in Ionic 2?
Thank you.