For the complete documentation index, see llms.txt. This page is also available as Markdown.

Setup Accura Face Liveness

Contact AccuraScan at contact@accurascan.com for Liveness SDK or API

Add following code in Manifest.

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />

<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />

<application
    ...
    android:networkSecurityConfig="@xml/network_security_config"
    >

 </application>
 
Note : 'android:networkSecurityConfig="@xml/network_security_config"' setup will permit clear text traffic   

Add following code to your Application class or MainActivity for hostname verification


Open camera for liveness Detectcion.


ProGuard

Depending on your ProGuard (DexGuard) config and usage, you may need to include the following lines in your proguards.


Last updated