jonathanwkelly / cordova-plugin-midi-sender

Send and receive Program Change messages between the Cordova app and attached hardware devices.
Apache License 2.0
4 stars 8 forks source link

cordova object structure changes #1

Open JasonPing opened 4 years ago

JasonPing commented 4 years ago

HI, Thanks for the nice plugin. Just an issue needs to be raised.

Seems that we should use cordova.plugins.MIDISender.getIncoming rather than cordova.MIDISender.getIncoming to call the function. "MIDISender" object is under "plugins" attribute of "cordova".

Maybe need to update the Readme file.

jonathanwkelly commented 4 years ago

Thanks @JasonPing. This plugin is obviously for use in a much older version of Cordova. I'd welcome a PR if you have updated it for a more current version of Cordova.