Project setup
First, you need to download the files from our sharing platform:
- Your license file is provided in a ZIP archive. You can unzip it and integrate the file into your project.
- The iOS and Android builds are available. Depending on your license, you can download the appropriate versions. Since the new builds are a bit larger, we also offer versions without the plate decoder (if you don’t need it) for each build.
License
Add the license file icare_smartscan.lic to the app/src/main/res/raw/ directory.
Library
Add the decoding library folder of each architecture to a app/src/main/jniLibs/ directory:
|-- app/src/main/jniLibs/
|-- arm64-v8a
|-- armeabi-v7a
|-- x86
|-- x86-64
Framework
- Add the
smartscan-release.arrframework to aapp/smartscan-libdirectory. - Add a
build.gradlefile to theapp/smartscan-libdirectory, with the following content:configurations.maybeCreate("default")
artifacts.add("default", file('smartscan-release.aar')) - Add
include 'smartscan-lib'to thesettings.gradleconfiguration file. - Add the following dependency to the
app/build.gradlefile:dependencies {
implementation project(':smartscan-lib')
}
You can now instantiate a SmartScanner by following the steps outlined in the Base Implementation section.