NFC Capabilities and Permissions
The following configuration needs to be set up for IRIS application to use NFC Tag API’s.
IOS
IOS Requires Near Field Communication Tag Reader Session Formats Entitlement, find here how we can add iOS capabilities. For more info check apple documents here. Add below configuration to enable NFC for your iris project:
"com.apple.developer.nfc.readersession.formats": ["TAG"]
IOS also needs usage description in info.plist. Add the description with key NFCReaderUsageDescription.
Android
To enable the NFC function for Android below permission must be added through Iris
< uses-permission android:name="android.permission.NFC"/ >
Note: If this permission is not added, NFC functionality for Android will not be enabled.
Depending on the application functionality, you may need to configure the intent filters if your application must listen to any data scanned from the NFC tag.
Detailed description related to Android manifest configuration is available here
You can also check the official Android link for NFC here.