Integration time — 8 minutes.
iOS 13+ (CoreNFC is required), Xcode 12.5.1+ SDK can be imported to a project with target version iOS 11, but it will be able to work only from iOS 13.
Android with minimal SDK version of 21 and a device with NFC support.
To install this plugin to you project run next comman line commands:
npm install tangem-sdk
npx cap sync
Cordova platform should do all the configurations by itself.
When you adding Near Field Communication Tag Reading capability, Xcode generates entries in *.entitlement file. You should check that there are only the Tag string in com.apple.developer.nfc.readersession.formats array. Otherwise AppStore will reject your build when you try to upload it.
<string>To scan NFC smart cards</string>
In the Info.plist file, add the list of the application identifiers supported in your app to the ISO7816 Select Identifiers (AIDs) information property list key. The AIDs of Tangem cards are:
Optional: To prevent customers from installing apps on a device that does not support the NFC capability, add the following to the Info.plist code: