@finos_sdk/sdk-ekyc 0.0.38 → 0.0.41

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.
@@ -1,29 +1,49 @@
1
1
  // Top-level build file where you can add configuration options common to all sub-projects/modules.
2
2
 
3
- buildscript {
4
- ext {
5
- buildToolsVersion = "35.0.0"
6
- minSdkVersion = 24
7
- compileSdkVersion = 35
8
- targetSdkVersion = 34
9
- ndkVersion = "25.1.8937393"
10
- }
11
- repositories {
12
- google()
13
- mavenCentral()
14
- mavenLocal()
3
+ plugins {
4
+ id 'com.android.library'
5
+ id 'org.jetbrains.kotlin.android'
6
+ }
7
+
8
+ android {
9
+ namespace 'finos.sdk.ekyc'
10
+ compileSdk (project.findProperty('compileSdkVersion') ?: 35) as Integer
11
+
12
+ defaultConfig {
13
+ minSdkVersion (project.findProperty('minSdkVersion') ?: 24) as Integer
14
+ targetSdkVersion (project.findProperty('targetSdkVersion') ?: 34) as Integer
15
+ consumerProguardFiles 'consumer-rules.pro'
15
16
  }
16
- dependencies {
17
- classpath("com.android.tools.build:gradle:8.6.1")
18
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25")
17
+
18
+ buildTypes {
19
+ release {
20
+ minifyEnabled false
21
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
22
+ }
19
23
  }
20
24
  }
21
25
 
22
- allprojects {
23
- repositories {
24
- google()
25
- mavenCentral()
26
- mavenLocal()
27
- maven { url uri("file://${projectDir}/SDKeKYC") }
28
- }
26
+ repositories {
27
+ google()
28
+ mavenCentral()
29
+ mavenLocal()
30
+ maven { url uri("file://${projectDir}/SDKeKYC") }
31
+ }
32
+
33
+ dependencies {
34
+ // React Native
35
+ implementation 'com.facebook.react:react-android'
36
+
37
+ // Finos eKYC SDK dependencies
38
+ implementation("finos.sdk.ekyc:ekyc:1.2.0")
39
+ implementation("finos.sdk.ekyc:ekycui:1.2.0")
40
+ implementation("finos.sdk.ekyc:nfc:1.2.0")
41
+ implementation("finos.sdk.ekyc:ocr:1.2.0")
42
+ implementation("finos.sdk.ekyc:liveness:1.2.0")
43
+ implementation("finos.sdk.ekyc:faceservice:1.2.0")
44
+ implementation("finos.sdk.ekyc:c06:1.2.0")
45
+ implementation("finos.sdk.ekyc:sdkcore:1.2.0")
46
+ implementation("finos.sdk.ekyc:sdkcorecamera:1.2.0")
47
+ implementation("finos.sdk.ekyc:sdkui:1.2.0")
48
+ implementation("finos.sdk.ekyc:qrcode:1.2.0")
29
49
  }
@@ -5,7 +5,7 @@ import { C06Config } from './src/types/ekycC06Type';
5
5
  import { OcrConfig } from './src/types/ekycOCRType';
6
6
  import { LivenessConfig } from './src/types/ekycLivenessType';
7
7
  import { FaceServiceConfig } from './src/types/ekycFaceType';
8
- export declare const SDK_VERSION = "0.0.36";
8
+ export declare const SDK_VERSION = "0.0.40";
9
9
  export declare const SDK_NAME = "@finos_sdk/sdk-ekyc";
10
10
  declare class SDKeKYC {
11
11
  private eventEmitter;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDKeKYC = exports.SDK_NAME = exports.SDK_VERSION = void 0;
4
4
  const react_native_1 = require("react-native");
5
5
  // Version information
6
- exports.SDK_VERSION = '0.0.36';
6
+ exports.SDK_VERSION = '0.0.40';
7
7
  exports.SDK_NAME = '@finos_sdk/sdk-ekyc';
8
8
  const EKYCNativeModule = react_native_1.NativeModules.EKYCModule;
9
9
  // Validate that the module is available
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos_sdk/sdk-ekyc",
3
- "version": "0.0.38",
3
+ "version": "0.0.41",
4
4
  "description": "React Native SDK for eKYC (electronic Know Your Customer) - Vietnamese CCCD NFC reading, OCR, Liveness detection, Face matching, and C06 residence verification",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,7 +13,6 @@
13
13
  "android/gradle/wrapper/**",
14
14
  "android/gradlew",
15
15
  "android/gradlew.bat",
16
- "android/settings.gradle",
17
16
  "android/consumer-rules.pro",
18
17
  "android/SDKeKYC/**",
19
18
  "src/**"
@@ -1,25 +0,0 @@
1
- pluginManagement {
2
- includeBuild("../node_modules/@react-native/gradle-plugin")
3
- repositories {
4
- gradlePluginPortal()
5
- mavenCentral()
6
- mavenLocal()
7
- google()
8
- maven { url uri("file://${settingsDir}/SDKeKYC") }
9
- }
10
- }
11
- plugins { id("com.facebook.react.settings") }
12
- extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
13
- dependencyResolutionManagement {
14
- repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
15
- repositories {
16
- google()
17
- mavenCentral()
18
- mavenLocal()
19
- maven { url uri("file://${settingsDir}/SDKeKYC") }
20
- }
21
- }
22
- rootProject.name = 'finosSDKeKYC'
23
- include ':app'
24
- include ':src:main'
25
- includeBuild('../node_modules/@react-native/gradle-plugin')