chariotsolutions / phonegap-nfc

PhoneGap NFC Plugin
MIT License
706 stars 555 forks source link

[FEATURE REQUEST] Add support for non-NDEF tags for iOS 13 #366

Open dpa99c opened 5 years ago

dpa99c commented 5 years ago

iOS 13 (currently in Beta 2) opens up non-NDEF NFC functionality to 3rd party apps (see here).

It would be great to add support for this to this plugin for the upcoming iOS 13 public release in September.

don commented 4 years ago

What kind of non-NDEF tags do you want to read? Something like the tag technology functions or more like host card emulation? I haven't studied the new docs yet so I don't know what's possible.

dpa99c commented 4 years ago

For myself, supporting the new APIs for MiFare tags would be ideal. If I had time, I'd have a go at implementing a PR for this but I'm currently snowed under with other OSS work. Ideally the plugin would support all the new tag types supported by CoreNFC in the iOS 11 SDK.

AFAIK the new CoreNFC operations don't open up enough low-level access to enable an HCE solution on iOS similar to what's possible on Android.

ReneDyhr commented 4 years ago

Is there anything new to this? Would love to get access to tags with the NFCTagReaderSession instead of NFCNDEFReaderSession. NDEF doesn't support what I need.

lparcshinoda commented 3 years ago

@don I see that now NFCTagReaderSession is supported with this plugin - is there a way to use something like "readMultipleBlocks" function from the returned interface (docs here https://developer.apple.com/documentation/corenfc/nfciso15693tag) ?