How to use cordova plugin directly in v2 RC1 instead of ionic native?


#1

I want to read sms content using plugin cordova-plugin-sms, but I do not know how to use it in RC1.

declare const cordova: any does not work.


#2

window.cordova or window[‘cordova’] should work.

After that you have to use the [] notation instead of the (.) dot-notation