cordova-plugin-printer
cordova-plugin-printer copied to clipboard
PDF opening three times.
I have an HTML document I'm trying to print from the inappbrowser, and I am using postmessage to pass the document from the browser to cordova-plugins-printer. When I press the button, the print pdf screen pops up, which is great, but it opens it three times. I took a look with debugger and found that Channel.prototype.fire in cordova.js fires three times. I trying to work around this with a callonce variable, but just so you guys know, we need to fix this bug (if it is a problem with cordova-plugins-printer, that is).