Custom cordova plugin not working Ionic 2 RC0


#1

Hi,

I´ve been using custom cordova plugin until now just fine.
I just needed to declare the plugin in each file to be found:

declare var customPlugin: any;

customPlugin.mehtodXYZ();

But ever since I upgraded to RC0 the plugin is not defined:

error_handler.js:49ORIGINAL EXCEPTION: customPluginis not definedErrorHandler.handleError @ error_handler.js:49
error_handler.js:52ORIGINAL STACKTRACE:ErrorHandler.handleError @ error_handler.js:52

Is this a bug that will be fixed or is there some way I can fix this myself?

Thank you