Developers

passportscan-img

Passport Scanner

Introduction

PassPortScanner is a SDK which helps to scan both Passport and Visa.

Getting Started

Installation

Usage

Start using

import PassPortScanner

How to use

let viewcontroller = PassPortScanner(handOffDelegate: self).getRootViewController(scannerType: .Passport)

In the above line, we have following items to do

  1. handOffDelegate which should be confirmed by any class to start using ScannerProtocol methods.
  2. ScannerProtocolis having only one method which is hand off data from SDK.

func handOffCapturedData(_ handOffData: [String: Any]?)

As part of “handOffData” below are the data is sent

  1. documentImage
  2. base64documentImage
  3. surname
  4. givenName
  5. sex
  6. documentNumber
  7. documentType
  8. countryCitizen
  9. dateBirthCheckDigit
  10. dateBirth
  11. countryIssue
  12. dateExpiration
  13. dateExpirationCheckDigit
  14. stateIssue
  15. compositeCheckDigit
  16. documentNumberCheckDigit
  17. optionalData
  18. optionalData2
  19. optionalDataCheckDigit
  20. totalScanTime
  21. rawMRZ
  1. scannerType which should be any one of the values of ScannerType.
  2. ScannerType is of 2 types which are Passport or Visa.
  3. This PassPortScanner can be presented on any UIViewController or add as childViewController.
  4. Example is present at this location for reference.

Dependencies

PassPortScanner uses XavierFramework.framework internally for scanning Passport or Visa

Know your Limitations

Runs only on the Real Device and will not be work on Simulator

Document Scanner

Introduction

ScanDocs is a SDK which helps to scan documents.

Getting Started

Installation

Usage

Start using

import ScanDocs

How to use

let viewcontroller = DocumentScanner(handOffDelegate: self, documentScannerKey:

documentScannerKey, scanningDocumentArrays: [“Covid Certificate”]).getRootViewController()

In the above line, we have following items to do

  1. handOffDelegate which should be confirmed by any class to start using ScanDocsProtocol methods.
  2. ScanDocsProtocol is having only one method which is hand off data from SDK.

func handOffDocumentURLs(docs: [String: URL])

  1. docs are the required values. As part of docs, we will get the scanningDocumentArrays documents in array.
  2. This ScanDocs can be presented on any UIViewController or add as childViewController.
  3. Example is present at this location.
  4. documentScannerKey – Client has to sent the key to initiate the scanning documents
  5. multiDocumentScanning – Set this value to true, if we want the scan the more than the 1 document.
  1. scannerType which should be any one of the values of ScannerType.
  2. ScannerType is of 2 types which are Passport or Visa.
  3. This PassPortScanner can be presented on any UIViewController or add as childViewController.
  4. Example is present at this location for reference.

Dependencies

ScanDocs uses GSSDKCore and GSSDKScanFlow frameworks internally for scanning documents.

Know your Limitations

Runs only on the Real Device and will not be work on Simulator.

Final-step-img

Document Uploader

Introduction

DocumentUploader is a SDK which helps to upload document from Gallery / File Manager

Getting Started

Installation

Usage

Start using

import DocumentUploader

How to use

let documentUploader = DocumentUploader.init(handOffDelegate: uploader, scannerType: GalleryScannerType.none)

documentUploader.openDocumentUploader()

In the above line, we have following items to do

  1. handOffDelegate which should be confirmed by any class to start using DocumentUploaderProtocol methods.
  2. DocumentUploaderProtocol is having only one method which is hand off data from SDK.
    func handOffData(_ data: [String: Any], uploadedType: GalleryScannerType)
  3. scannerTypewhich should be any one of the values of GalleryScannerType.
  4. ScannerTypeis of 3 types which are Passport or Visa or none.
  5. This DocumentUploaderis which helps to upload document from Gallery / File Manager
  6. Exampleis present at this location for reference.

SVYV Offers a Platform To Transform
Digital Working Space With Little To No Effort