assentify-sdk-react-native 0.0.35 → 0.0.37

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.
Files changed (43) hide show
  1. package/README.md +17 -0
  2. package/android/build.gradle +1 -1
  3. package/android/src/main/AndroidManifest.xml +6 -0
  4. package/android/src/main/java/com/assentifysdk/AssentifySdkModule.kt +28 -24
  5. package/android/src/main/java/com/assentifysdk/FaceMatchActivity.kt +6 -2
  6. package/android/src/main/java/com/assentifysdk/QrActivity.kt +363 -0
  7. package/android/src/main/res/layout/activity_qr.xml +233 -0
  8. package/assentify-sdk.podspec +1 -1
  9. package/ios/NativeAssentifySdk.mm +4 -5
  10. package/ios/NativeAssentifySdk.swift +51 -28
  11. package/ios/View/FaceMatchController.swift +7 -2
  12. package/ios/View/PassportController.swift +6 -2
  13. package/ios/View/QrController.swift +213 -0
  14. package/lib/commonjs/AssentifyProvider.js +21 -0
  15. package/lib/commonjs/AssentifyProvider.js.map +1 -1
  16. package/lib/commonjs/AssentifyWrapper.js +6 -2
  17. package/lib/commonjs/AssentifyWrapper.js.map +1 -1
  18. package/lib/commonjs/types.js.map +1 -1
  19. package/lib/module/AssentifyProvider.js +21 -0
  20. package/lib/module/AssentifyProvider.js.map +1 -1
  21. package/lib/module/AssentifyWrapper.js +6 -2
  22. package/lib/module/AssentifyWrapper.js.map +1 -1
  23. package/lib/module/types.js.map +1 -1
  24. package/lib/typescript/example/src/Home.d.ts.map +1 -1
  25. package/lib/typescript/lib/commonjs/AssentifyProvider.d.ts.map +1 -1
  26. package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts +2 -1
  27. package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts.map +1 -1
  28. package/lib/typescript/lib/module/AssentifyProvider.d.ts.map +1 -1
  29. package/lib/typescript/lib/module/AssentifyWrapper.d.ts +2 -1
  30. package/lib/typescript/lib/module/AssentifyWrapper.d.ts.map +1 -1
  31. package/lib/typescript/lib/module/index.d.ts +2 -1
  32. package/lib/typescript/lib/module/index.d.ts.map +1 -1
  33. package/lib/typescript/src/AssentifyProvider.d.ts.map +1 -1
  34. package/lib/typescript/src/AssentifyWrapper.d.ts +2 -1
  35. package/lib/typescript/src/AssentifyWrapper.d.ts.map +1 -1
  36. package/lib/typescript/src/index.d.ts +2 -1
  37. package/lib/typescript/src/index.d.ts.map +1 -1
  38. package/lib/typescript/src/types.d.ts +2 -0
  39. package/lib/typescript/src/types.d.ts.map +1 -1
  40. package/package.json +1 -1
  41. package/src/AssentifyProvider.tsx +17 -0
  42. package/src/AssentifyWrapper.ts +5 -10
  43. package/src/types.ts +3 -0
package/src/types.ts CHANGED
@@ -43,6 +43,8 @@ export interface Assentify {
43
43
 
44
44
  startScanIDCard:(kycDocumentDetailsList: KycDocumentDetails[],language: LanguageCode,flippingCard: boolean) => void;
45
45
 
46
+ startScanQr:(kycDocumentDetailsList: KycDocumentDetails[],language: LanguageCode) => void;
47
+
46
48
  startFaceMatch: (
47
49
  imageUrl: String,
48
50
  showCountDown: boolean
@@ -164,6 +166,7 @@ export type KycDocumentDetails = {
164
166
  name: string;
165
167
  order: number;
166
168
  templateProcessingKeyInformation: string;
169
+ hasQrCode: boolean;
167
170
  };
168
171
 
169
172
  export type Templates = {