Skip to content

Enable PACE/SAC-only Document Support#257

Open
nicocha wants to merge 2 commits intoAndyQ:mainfrom
stelauconseil:feature/PACE-only-support
Open

Enable PACE/SAC-only Document Support#257
nicocha wants to merge 2 commits intoAndyQ:mainfrom
stelauconseil:feature/PACE-only-support

Conversation

@nicocha
Copy link
Copy Markdown

@nicocha nicocha commented Sep 5, 2025

Enable PACE/SAC-only Document Support (Requires iOS 16+)

Summary

This PR updates the entitlements and adds the required option to allow reading PACE/SAC-only documents such as modern ePassports, eID cards, and eResidence permits.

Details

  • Updated entitlements to support PACE/SAC
  • Modified session initialization to enable PACE negotiation:
readerSession = NFCTagReaderSession(
    pollingOption: [.pace, .iso14443],
    delegate: self,
    queue: nil
)

Impact

  • Compatible with SAC-only documents that no longer support BAC
  • Existing BAC functionality remains unaffected
  • Consumers of the library must now target iOS 16 or later

@remicolin
Copy link
Copy Markdown

hey @nicocha, do you know which ID documents are affected by this PR?

@tavyDesign
Copy link
Copy Markdown

I tested it on my eID (Romanian) and don't work. With this setting NFC ignore my card, but see the passport ...

@nicocha
Copy link
Copy Markdown
Author

nicocha commented Sep 14, 2025

It works at least with the french eID card. I will try to get my hands on other documents to test.

@nicocha
Copy link
Copy Markdown
Author

nicocha commented Sep 16, 2025

@tavyDesign , i added a toggle switch to enable/disable this option as this polling is exclusive from all others

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants