Skip to content

BUG: NFC Card Reading Fails When Multiple AIDs Are Configured #7

Description

@MartinAtStagnation

NFC Card Reading Fails When Multiple AIDs Are Configured

Bug: getCardCommands fails when Info.plist contains additional supported NFC AIDs

Summary

The NFC library fails to read card information when the iOS app is configured to support more NFC Application Identifiers (AIDs) than the library's Idemia and Thales card command implementations support.

Steps to Reproduce

  1. Add additional AIDs to Info.plist under com.apple.developer.nfc.readersession.iso7816.select-identifiers before the library's supported AIDs. For example: (Order is important)

    • A0000002471001
    • A00000045645444C2D3031
    • A000000077010800070000FE00000100
    • A0000000181002030000000000000001
  2. Use an NFC card that supports both an additional AID and one of the library's supported AIDs

  3. Attempt to read the card

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions