Sample project in Swift, demonstrating the Document Reader SDK basic functionality and shows how to integrate reading NFC via external Bluetooth device. UI elements are not included.
Important: this project does not include a Bluetooth Reader SDK. It contains the key integration points and required methods only.
- Download or clone the current repository using the command
git clone https://github.com/regulaforensics/DocumentReader-iOS.git. - Open the
DocumentReaderSwift-sampleproject in an IDE. - Run pods
pod install. - Add license and database files to the target:
- Visit Regula Client Portal to get a trial license (
regula.licensefile). The license creation wizard will guide you through the necessary steps. - Copy the license file to the project:
UniversalTag/UniversalTag-sample/DocumentReaderSwift-sample/ - Copy the database file
db.datfrom Regula Client Portal to the project:UniversalTag/UniversalTag-sample/DocumentReaderSwift-sample/
- Visit Regula Client Portal to get a trial license (
- Change the application Bundle ID to the one you have specified during the registration at Regula Client Portal.
- Conform the
RGLUniversalNFCTagTransportprotocol in your BLE SDK. - Implement sending APDU commands from
RGLUniversalNFCTagTransportto your BLE SDK and return response. - Establish a connection to the external Bluetooth reader using your BLE SDK.
- Detect and confirm that the NFC tag is available through the connected reader.
- After the Bluetooth reader and the NFC tag are ready, provide an object conforming to
RGLUniversalNFCTagTransporttoDocReader.shared.readRFID(universalNFCTag:notificationCallback:completion:). At this stage,DocumentReaderuses the provided transport object to exchange APDU commands with the tag through your BLE SDK.
Document Reader SDK Mobile Documentation
Regula Document Reader iOS Demo Application in the App Store
To submit a request to Technical Support, visit Regula Help Center.
To discuss business purposes or purchase the license, fill the Enquiry Form.