diff --git a/android/build.gradle b/android/build.gradle index 842bddb..402a1cb 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -104,7 +104,7 @@ dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // core dependencies - implementation(platform("com.github.digio-tech:digio-bom:v1.0.38")) + implementation(platform("com.github.digio-tech:digio-bom:v1.0.42")) implementation("androidx.appcompat:appcompat") implementation("com.google.android.material:material") implementation("androidx.navigation:navigation-fragment-ktx") @@ -137,7 +137,7 @@ dependencies { implementation("com.github.digio-tech:image_processor") implementation("androidx.exifinterface:exifinterface") - implementation("com.github.digio-tech:sdk_ml_camera") + implementation("com.github.digio-tech:sdk_ml_camera") // implementation("com.google.mlkit:face-detection") implementation("com.google.android.gms:play-services-mlkit-face-detection") @@ -161,6 +161,8 @@ dependencies { implementation("org.simpleframework:simple-xml") implementation("com.github.bumptech.glide:glide") + implementation ("com.airbnb.android:lottie:6.6.6") + implementation("androidx.core:core-animation:1.0.0") } diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index e4ca756..21ab6a8 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -110,7 +110,7 @@ android { dependencies { // The version of react-native is set by the React Native Gradle Plugin implementation("com.facebook.react:react-android") - // implementation fileTree(dir: 'libs', include: ['*.aar']) +// implementation fileTree(dir: 'libs', include: ['*.aar']) // implementation 'com.github.digio-tech:gateway_kyc:v4.0.20' implementation 'com.github.digio-tech:protean-esign:v3.12' debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") diff --git a/example/android/app/libs/digio_kyc_ml_camera-5.0.14.aar b/example/android/app/libs/digio_kyc_ml_camera-5.0.14.aar new file mode 100644 index 0000000..3ce3d27 Binary files /dev/null and b/example/android/app/libs/digio_kyc_ml_camera-5.0.14.aar differ diff --git a/example/android/app/libs/digio_kyc_workflow-4.0.15.aar b/example/android/app/libs/digio_kyc_workflow-4.0.15.aar deleted file mode 100644 index f654ef2..0000000 Binary files a/example/android/app/libs/digio_kyc_workflow-4.0.15.aar and /dev/null differ diff --git a/example/src/App.tsx b/example/src/App.tsx index 27434de..a0ef863 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -33,9 +33,9 @@ export default function App() { const startDigioFlow = () => { digioRef.current ?.start( - 'KID251203161932082U3CCU9BX8YNEHR', + 'KID260105170017231VSUZE4S6YY7Y59', 'akash.kumar@digio.in', - 'GWT251203161932104GFDCZMDJQUOE1S' + 'GWT260105170017251CLGKYRDL4AHNZS' ) .then((res: any) => { console.log(res); diff --git a/package.json b/package.json index 0477f08..d80acfc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@digiotech/react-native", - "version": "2.0.7", + "version": "2.0.8", "description": "SDK for invoking client side journey for any of Digio request", "main": "lib/commonjs/index", "module": "lib/module/index",