Scan ID cards, passports, and driver licenses in an Ionic Capacitor app on Android and iOS – OCR, MRZ, and barcode/QR recognition, fully on-device.
These are the exact minimum and recommended requirements published in the ID-Document-Recognition-Ionic-Capacitor repository — check the repo directly for the latest version, since SDK requirements can change between releases.
Install the SDK, then activate it with a license key before calling any recognition function – every platform follows this same activate-then-initialize pattern.
npm install && npm run build at the root, then cd example && npm install.documentreadersdk.aar to example/android/libdocsdk/ and docsdk.framework to ios/Frameworks/.npm run build again, then npx cap sync and npx cap open android (or ios) to run on a physical device.const act = await setActivation(YOUR_LICENSE_KEY);
if (act !== SDK_SUCCESS) throw new Error('activation failed');
const code = await init();
const json = await recognize(frontUri, backUri ?? null, true);
Licenses are offline and bound to your app's application ID (Android) or bundle ID (iOS). Demo keys are valid until 12 Aug 2027. getMachineCode() returns the identifier to send FacePlugin for your own license.
No. Every stage of document recognition runs on your own server or directly on the device, depending on the platform – scanned documents never leave an environment you control.
Licenses are offline and bound to a machine code, application ID, or bundle ID depending on the platform. Contact FacePlugin with that identifier to receive a license key – there are no per-call or per-scan fees once licensed.
The Ionic Capacitor integration is maintained publicly on GitHub at github.com/Faceplugin-ltd, where you can browse the code, file issues, and track releases.
Talk to our team to get a license key and a 15-day evaluation period started.