You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Developer-friendly** & **Easy to integrate** SDK.
20
22
23
+
> **DeviceGuard** for Anti-Spoofing (Root, Emulator, Mock Location detection) and **DeviceInfo** for offline **DigiPin** generation and hardware intelligence.
24
+
21
25
> **Works entirely offline**, locally on the device, with **no data transferred to any server or third party**.
22
26
23
27
*For reduced build size if needed, an initial internet connection may optionally be required to fetch ML data or resource files, depending on the specific integration and features used by the consumer application*
@@ -98,7 +102,7 @@ Based on the requirement, any one or all classes can be used.And need to import
98
102
importcom.extrieve.quickcapture.sdk.ImgException;
99
103
```
100
104
---
101
-
## 1. CameraHelper
105
+
## 1. CameraHelper - The document capture class
102
106
This core class will be implemented as an activity.This class can be initialized as intent.
103
107
```java
104
108
//JAVA
@@ -508,7 +512,7 @@ The SDK includes a supporting class called for static configuration. This class
508
512
509
513
510
514
511
-
## 3. ImgHelper
515
+
## 3. ImgHelper - The imaging class
512
516
Following are the options/methods available from class **ImgHelper** :
513
517
```java
514
518
//JAVA
@@ -651,6 +655,195 @@ var ImageHelper: ImgHelper? = ImgHelper(this)
651
655
> - LayoutType: `A4`
652
656
> - ResizeMode: `preserveAspectOnly`
653
657
658
+
659
+
660
+
## 4. DeviceInfo - The device info class.
661
+
662
+
The `DeviceInfo` class provides detailed system specifications, real-time battery status, and precise location intelligence. It features a built-in **Offline Engine** for generating **DigiPins** (India Post's digital addressing system) from coordinates, eliminating the need for external APIs.
**DeviceGuard** is a security engine designed for Banking, Insurance, and Enterprise apps. It prevents fraud by detecting environment tampering (Rooting, Emulators, GPS Spoofing) before a document is captured.
764
+
765
+
### Initialization
766
+
767
+
```java
768
+
// JAVA
769
+
DeviceGuard guard =DeviceGuard.getInstance(this);
770
+
771
+
```
772
+
773
+
```kotlin
774
+
// KOTLIN
775
+
val guard =DeviceGuard.getInstance(this)
776
+
777
+
```
778
+
779
+
### A. Security Report (Pre-Check)
780
+
781
+
Run this check **before** launching the camera to ensure the device is trusted.
Prevents the QuickCapture screen from being recorded or captured via screenshots. Video recordings will result in a **black screen**.
817
+
818
+
```java
819
+
// Call in onCreate() of your Activity
820
+
guard.enableScreenProtection(this);
821
+
822
+
```
823
+
824
+
### D. Real-Time Monitoring
825
+
826
+
Listen for threats while the app is running (e.g., user toggles VPN or Developer settings during a session).
827
+
828
+
```java
829
+
guard.startMonitoring((threatType, message) -> {
830
+
Log.w("Security", "Threat: "+ threatType);
831
+
});
832
+
833
+
// Stop monitoring when done
834
+
guard.stopMonitoring();
835
+
836
+
```
837
+
838
+
#### 📋 Threat Events
839
+
840
+
| Threat Type | Trigger Condition |
841
+
| --- | --- |
842
+
|**`VPN_ACTIVATED`**| User connected to a VPN. |
843
+
|**`DEV_OPTIONS_ENABLED`**| User enabled Developer Options in settings. |
844
+
|**`SCREEN_RECORDING`**| (Android 15+) User started recording the screen. |
845
+
846
+
654
847
## 4. HumanFaceHelper
655
848
656
849
QuickCapture SDK equipped with advanced face identification intelligence can accurately detect human faces within documents and match them precisely.**SDK needs to be activated using a proper license** with Config.License.Acivate(); for the plus features to initialise.
0 commit comments