How to add the SDK to the project?

This page covers the ways of adding SDK to your project

Document Reader libraries are available in our Maven repository. Add the following lines to the build.gradle to the repositories {} section:

maven {
url "http://maven.regulaforensics.com/RegulaDocumentReader"
}

Then add the API library as a dependency and make sure transitive is set to true, simply adding the following lines of code to the build.gradle file of your project:

implementation ('com.regula.documentreader:api:+@aar'){
transitive = true
}

And add one of the Core libraries depend on the functionality that you wish and the license capabilities:

  • Install barcode library edition:

implementation 'com.regula.documentreader.barcode:core:+@aar'
  • Install barcodemrz library edition:

implementation 'com.regula.documentreader.barcodemrz:core:+@aar'
  • Install barcodemrzrfid library edition:

implementation 'com.regula.documentreader.barcodemrzrfid:core:+@aar'
  • Install bounds library edition:

implementation 'com.regula.documentreader.bounds:core:+@aar'
  • Install doctype library edition:

implementation 'com.regula.documentreader.doctype:core:+@aar'
  • Install full library edition:

implementation 'com.regula.documentreader.full:core:+@aar'
  • Install fullrfid library edition:

implementation 'com.regula.documentreader.fullrfid:core:+@aar'
  • Install mrz library edition:

implementation 'com.regula.documentreader.mrz:core:+@aar'
  • Install mrzrfid library edition:

implementation 'com.regula.documentreader.mrzrfid:core:+@aar'
  • Install ocrandmrz library edition:

implementation 'com.regula.documentreader.ocrandmrz:core:+@aar'
  • Install ocrandmrzrfid library edition:

implementation 'com.regula.documentreader.ocrandmrzrfid:core:+@aar'