NAV Navbar
swift
  • Upgrade guide iOS SDK 3.x to 4.x
  • Upgrade guide iOS SDK 3.x to 4.x

    Breaking changes

    Check NFC Availability

    guard VerifaiNFC.nfcAvailable() else {
        print("NFC not available")
        return
    }
    

    External bluetooth NFC reader

    We have removed the ability to use an ACS external Bluetooth NFC card reader in 4.0.0. This means that Verifai now only supports scanning NFC capabale documents using the internal NFC antenna of the iPhone. This feature is supported on iOS 13 and up, on NFC capable devices.

    This also means the Bluetooth permissions (NSBluetoothAlwaysUsageDescription & NSBluetoothPeripheralUsageDescription) are no longer needed and can be removed.

    To check if NFC is available on the device currently running the SDK you can use the nfcAvailable() function.

    Deprecated items removed

    The following deprecated items have been permanently removed and will now return errors if you still use them.

    Tablet and Orientation improvements

    The SDK now better better supports tablets by taking bigger screens into account. Landscape support on tablet has also been added to ensure all scanning and checks run smoothly. Phone sized deviced still only have portrait support