Native - NFC

#1

Hi

i create a listener for reading an NFC Tag with this code

this.nfc.addTagDiscoveredListener().subscribe(data => {
if (data && data.tag && data.tag.id) {
// Doing something
}
});

How can i destroy the listener after reading a tag?

Thanks for your help