NFC addTagDiscoveredListener and addNdefListener

Hello,

I want to write a bunch of NdefRecords and also use the low-level .transceive method to protect my tag (NTAG 213). Problem is you can’t subscribe both to addTagDiscoveredListener and addNdefListener because the addNdefListener takes precedence over the addTagDiscoveredListener and the second one never triggers an event.

Like wise you cannot unsubscribe from these two events in Ionic, the PhoneGap-NFC library supports unsubscribing/removeing the listeners but Ionic does not expose that and the API calls are actually a bit different than the one in the PhoGap-NFC lib.

How can this be done? (writing both NDEF records and low-level transceive)