* Added instructions for working with ISO7816 tags. To work with ISO7816 tags developers must add om.apple.developer.nfc.readersession.iso7816.select-identifiers key in info.plist with values. * Spelling and formating setup.md
1.8 KiB
1.8 KiB
iOS
- In apple developer site, enable capability for NFC
- in Xcode, add
NFCReaderUsageDescriptioninto yourinfo.plist, for example:
<key>NFCReaderUsageDescription</key>
<string>We need to use NFC</string>
More info on Apple's doc
Additionally, if writing ISO7816 tags add application identifiers (aid) into your info.plist as needed like this.
<key>com.apple.developer.nfc.readersession.iso7816.select-identifiers</key>
<array>
<string>D2760000850100</string>
<string>D2760000850101</string>
</array>
More info on Apple's doc
An incomplete list of aid's can be found here. Application identifier
- in Xcode's
Signing & Capabilitiestab, make sureNear Field Communication Tag Readingcapability had been added, like this:
If this is the first time you toggle the capabilities, the Xcode will generate a <your-project>.entitlement file for you:
- in Xcode, review the generated entitlement. It should look like this:
More info on Apple's doc
Android
Simple add uses-permission into your AndroidManifest.xml:
<uses-permission android:name="android.permission.NFC" />



