Skip to content

Capture Process Integrity

To enable detection of jailbroken mobile devices to help ensure the device is genuine, secure, and free from tampering, use the following parameter:

DocReader.shared.processParams.checkCaptureProcessIntegrity = true
RGLDocReader.shared.processParams.checkCaptureProcessIntegrity = @YES;
DocumentReader.Instance().processParams().checkCaptureProcessIntegrity = true
DocumentReader.Instance().processParams().checkCaptureProcessIntegrity = true;
DocumentReader.instance.processParams.checkCaptureProcessIntegrity = true;
DocumentReader.instance.processParams.checkCaptureProcessIntegrity = true
// Android
DocumentReader.Instance().ProcessParams().CheckCaptureProcessIntegrity = (Java.Lang.Boolean)true;

// iOS
RGLDocReader.Shared.ProcessParams.CheckCaptureProcessIntegrity = true;
DocumentReader.setProcessParams({
    checkCaptureProcessIntegrity: true,
}, (str) => { console.log(str) }, (error) => { console.log(error) });
DocumentReader.setProcessParams({
    checkCaptureProcessIntegrity: true
});
DocumentReader.setProcessParams({
    checkCaptureProcessIntegrity: true,
}, function (m) { }, function (e) { console.log(e); });

Check the result in the Status object for the selected platform:

Next Steps