scandit-react-native-datacapture-id 6.28.0 → 7.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1 +1,3 @@
1
- ScanditIdCapture implements the Id capture capabilities of the Scandit Data Capture SDK.
1
+ ScanditIdCapture implements the Id capture capabilities of the Scandit Data Capture SDK.
2
+
3
+ Learn more with the [official documentation](https://docs.scandit.com/) or get started with [our samples](https://github.com/Scandit/datacapture-react-native-samples)
@@ -75,7 +75,7 @@ if (file( "${rootProject.projectDir}/build-test.gradle").exists()) {
75
75
  }
76
76
 
77
77
  dependencies {
78
- def sdk_version = "6.28.0"
78
+ def sdk_version = "7.0.0-beta.1"
79
79
 
80
80
  println("Version of the native sdk used in this build: ${safeExtGet("global_sdk_version", sdk_version)}")
81
81
  api project(path: ":scandit-react-native-datacapture-core")
@@ -40,26 +40,11 @@ class ScanditDataCaptureIdModule(
40
40
  idCaptureModule.finishDidCaptureId(enabled)
41
41
  }
42
42
 
43
- @ReactMethod
44
- fun finishDidLocalizeCallback(enabled: Boolean) {
45
- idCaptureModule.finishDidLocalizeId(enabled)
46
- }
47
-
48
43
  @ReactMethod
49
44
  fun finishDidRejectCallback(enabled: Boolean) {
50
45
  idCaptureModule.finishDidRejectId(enabled)
51
46
  }
52
47
 
53
- @ReactMethod
54
- fun finishDidTimeOutCallback(enabled: Boolean) {
55
- idCaptureModule.finishDidTimeout(enabled)
56
- }
57
-
58
- @ReactMethod
59
- fun verifyCapturedId(capturedIdJSON: String, promise: Promise) {
60
- idCaptureModule.verifyCaptureId(capturedIdJSON, ReactNativeResult(promise))
61
- }
62
-
63
48
  @Suppress("UNUSED_PARAMETER")
64
49
  @ReactMethod
65
50
  fun createContextForBarcodeVerification(contextJSON: String, promise: Promise) {
@@ -71,11 +56,6 @@ class ScanditDataCaptureIdModule(
71
56
  idCaptureModule.verifyCapturedIdBarcode(capturedIdJSON, ReactNativeResult(promise))
72
57
  }
73
58
 
74
- @ReactMethod
75
- fun verifyVizMrz(capturedIdJSON: String, promise: Promise) {
76
- idCaptureModule.vizMrzVerification(capturedIdJSON, ReactNativeResult(promise))
77
- }
78
-
79
59
  @ReactMethod
80
60
  fun setModeEnabledState(enabled: Boolean) {
81
61
  idCaptureModule.setModeEnabled(enabled)
@@ -1,4 +1,8 @@
1
- export { ComparisonCheck, ComparisonCheckResult, DateResult, IdAnonymizationMode, IdDocumentType, IdImageType, LocalizedOnlyId, RejectedId, SupportedSides, TextHintPosition, VizMrzComparisonCheck } from 'scandit-datacapture-frameworks-id';
2
- export { AAMVABarcodeResult, AamvaBarcodeVerificationResult, AamvaBarcodeVerificationStatus, AamvaBarcodeVerifier, AamvaVizBarcodeComparisonResult, AamvaVizBarcodeComparisonVerifier, ApecBusinessTravelCardMrzResult, ArgentinaIdBarcodeResult, CapturedId, CapturedResultType, ChinaExitEntryPermitMRZResult, ChinaMainlandTravelPermitMRZResult, ChinaOneWayPermitBackMrzResult, ChinaOneWayPermitFrontMrzResult, ColombiaDlBarcodeResult, ColombiaIdBarcodeResult, CommonAccessCardBarcodeResult, DocumentType, MRZResult, ProfessionalDrivingPermit, SouthAfricaDlBarcodeResult, SouthAfricaIdBarcodeResult, USUniformedServicesBarcodeResult, USVisaVIZResult, VehicleRestriction, VizMrzComparisonCheckResult, VizMrzComparisonResult, VizMrzComparisonVerifier, VIZResult } from 'scandit-datacapture-frameworks-id';
1
+ export { DateResult, IdAnonymizationMode, IdImageType, SupportedSides, TextHintPosition } from 'scandit-datacapture-frameworks-id';
2
+ export { AamvaBarcodeVerificationResult, AamvaBarcodeVerificationStatus, AamvaBarcodeVerifier } from 'scandit-datacapture-frameworks-id';
3
+ export { CapturedId, CapturedResultType, BarcodeResult, MRZResult, ProfessionalDrivingPermit } from 'scandit-datacapture-frameworks-id';
4
+ export { VehicleRestriction, VIZResult } from 'scandit-datacapture-frameworks-id';
3
5
  export { IdCaptureController, IdCaptureListenerController, IdCaptureListenerProxy, IdCaptureListenerEvents, IdCaptureProxy } from 'scandit-datacapture-frameworks-id';
4
- export { IdCapture, IdCaptureError, IdCaptureFeedback, IdCaptureListener, IdCaptureOverlay, IdCaptureSession, IdCaptureSettings, IdLayout, IdLayoutLineStyle, IdLayoutStyle, RejectionReason } from 'scandit-datacapture-frameworks-id';
6
+ export { IdCapture, IdCaptureFeedback, IdCaptureListener, IdCaptureOverlay, IdCaptureSettings, IdLayoutLineStyle, IdLayoutStyle, RejectionReason } from 'scandit-datacapture-frameworks-id';
7
+ export { IdCaptureDocumentType, DriverLicense, HealthInsuranceCard, IdCaptureDocument, IdCard, Passport, RegionSpecific, ResidencePermit, VisaIcao } from 'scandit-datacapture-frameworks-id';
8
+ export { IdCaptureScanner, SingleSideScanner, FullDocumentScanner, IdCaptureRegion, RegionSpecificSubtype, IdImages, IdSide } from 'scandit-datacapture-frameworks-id';
@@ -5,9 +5,7 @@ export declare class NativeIdCaptureListenerProxy implements IdCaptureListenerPr
5
5
  constructor();
6
6
  isModeEnabled: () => boolean;
7
7
  subscribeDidCaptureListener(): void;
8
- subscribeDidLocalizeListener(): void;
9
8
  subscribeDidRejectListener(): void;
10
- subscribeDidTimeOutListener(): void;
11
9
  unregisterListenerForEvents(): void;
12
10
  finishDidCaptureCallback(isEnabled: boolean): void;
13
11
  finishDidLocalizeCallback(isEnabled: boolean): void;
@@ -1,10 +1,8 @@
1
1
  import { IdCaptureProxy } from 'scandit-datacapture-frameworks-id';
2
2
  export declare class NativeIdCaptureProxy implements IdCaptureProxy {
3
3
  resetMode(): Promise<void>;
4
- verifyCapturedId(capturedId: string): Promise<string | null>;
5
4
  createContextForBarcodeVerification(contextJSON: string): Promise<void>;
6
5
  verifyCapturedIdAsync(capturedId: string): Promise<string | null>;
7
- verifyVizMrz(capturedId: string): Promise<string | null>;
8
6
  setModeEnabledState(enabled: boolean): void;
9
7
  updateIdCaptureMode(modeJson: string): Promise<void>;
10
8
  applyIdCaptureModeSettings(newSettingsJson: string): Promise<void>;