I am trying to compile a project using the native Cordova QR Scanner plugin, however I keep getting this error. From what I understand, this is an issue with the way the code is written, and its sending the wrong values to the constructor, or just not finding the constructor in the first place. So how am I supposed to fix this? Am I just missing some files, or perhaps something is wrong with my environment (all I used was "npm install", "ionic cordova prepare", and then I installed the plugin and added Android as a platform)? I found a question on GitHub from someone with the same problem, but its unanswered at the moment.
