chariotsolutions / phonegap-nfc

PhoneGap NFC Plugin
MIT License
706 stars 557 forks source link

remove event listener not working #257

Closed jszersze closed 6 years ago

jszersze commented 7 years ago

It looks like the 'removeTagDiscoveredListener' is not removing the function that is being triggered by the event listener. When I try to overwrite the function (as a work around) and set it to an empty function, myfunc = function(){} it still gets triggered also. It's almost like it makes another internal copy of this function that becomes unavailable upon event listeners creation.

Is there any solutions to getting rid of either the event of the function triggered?

don commented 7 years ago

Can you create a simple example to demonstrate this problem? That would help me debug the issue.

jeremycoppey commented 6 years ago

I'm experiencing the same behavior here, the remove doesn't work. did you already worked on this issue? You need some extra information?