From 2e4432f65f533a38170198c3d1499fa65f227e52 Mon Sep 17 00:00:00 2001 From: Akash Date: Thu, 10 Apr 2025 18:15:50 +0530 Subject: [PATCH 1/2] feat: updated android BOM version --- README.md | 5 +++-- android/build.gradle | 4 ++-- example/ios/Podfile.lock | 4 ++-- example/src/App.tsx | 4 ++-- package.json | 2 +- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 17bf458..4d77444 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,8 @@ function YourComponent() { } ``` -## Android +## Android +- Digio SDK supports android version 7 (SDK level 24) and above - Add below in your project under build.gradle (module:app)file inside dependencies ```tsx @@ -181,7 +182,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 ``` ### IOS Permission - +- Digio SDK supports iOS 11 and above Permissions need to add in your info.plist ``` /** Camera permission incase of selfie/video KYC/ capture document **/ diff --git a/android/build.gradle b/android/build.gradle index a5290a9..e6b9c5d 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -89,7 +89,7 @@ dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // core dependencies - implementation(platform("com.github.digio-tech:digio-bom:v1.0.10")) + implementation(platform("com.github.digio-tech:digio-bom:v1.0.14")) implementation("androidx.appcompat:appcompat") implementation("com.google.android.material:material") implementation("androidx.navigation:navigation-fragment-ktx") @@ -107,7 +107,7 @@ dependencies { implementation("com.github.digio-tech:sdk_offlinekyc") - implementation("com.github.digio-tech:esign_otp") + // implementation("com.github.digio-tech:esign_otp") compileOnly("com.github.digio-tech:protean-esign") implementation("com.github.digio-tech:cvl_esign") implementation("com.scottyab:rootbeer-lib") diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 906ea7e..7169fdb 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,7 +1,7 @@ PODS: - boost (1.83.0) - CocoaAsyncSocket (7.6.5) - - digio-react-native (1.0.18): + - digio-react-native (2.0.1): - DigioEsignSDK - DigiokycSDK - glog @@ -1320,7 +1320,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: d3f49c53809116a5d38da093a8aa78bf551aed09 CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 - digio-react-native: f712bacb613a622eefdd711dd4772bc50f00c26a + digio-react-native: 9f416e2150942258e0bbbc7f6d0a60981da1c633 DigioEsignSDK: a83db91acf10a043ba06da5d56aa976b64eb0c48 DigiokycSDK: 198d94e5856735c791ee6ca475cb5f78fc333210 DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953 diff --git a/example/src/App.tsx b/example/src/App.tsx index 6dc9b46..d055ea4 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -21,9 +21,9 @@ export default function App() { digio .start( - 'KID250220172348723LZOELQQ99NSVSP', + 'DID2504101805241849RMI7J7L2YS6yy', 'akash.kumar@digio.in', - 'GWT250220172348753FOJYJA8DXAU2OS' + 'GWT2504101805242984REKW9K463NS2S' ) .then((res) => { console.log(res); diff --git a/package.json b/package.json index 65ad43b..01c2367 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@digiotech/react-native", - "version": "2.0.1", + "version": "2.0.2", "description": "SDK for invoking client side journey for any of Digio request", "main": "lib/commonjs/index", "module": "lib/module/index", From 58b347780cb0e1ed1ffd75113f049e754285fc60 Mon Sep 17 00:00:00 2001 From: Akash Date: Tue, 22 Apr 2025 19:02:01 +0530 Subject: [PATCH 2/2] feat: resolved navigation overlap issue and updated android digio bom --- README.md | 3 +++ android/build.gradle | 4 ++-- android/gradle.properties | 4 ++-- example/android/build.gradle | 6 +++--- example/src/App.tsx | 4 ++-- package.json | 2 +- 6 files changed, 13 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 4d77444..af06c58 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,9 @@ implementation 'com.github.digio-tech:protean-esign:v3.2' dataBinding true } +// Make sure your project using + compileSdkVersion = 35 + targetSdkVersion = 35 ``` ## SDK Reference diff --git a/android/build.gradle b/android/build.gradle index e6b9c5d..2588b52 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -74,7 +74,7 @@ android { viewBinding true dataBinding true } - buildToolsVersion '33.0.0' +// buildToolsVersion '33.0.0' } repositories { @@ -89,7 +89,7 @@ dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // core dependencies - implementation(platform("com.github.digio-tech:digio-bom:v1.0.14")) + implementation(platform("com.github.digio-tech:digio-bom:v1.0.15")) implementation("androidx.appcompat:appcompat") implementation("com.google.android.material:material") implementation("androidx.navigation:navigation-fragment-ktx") diff --git a/android/gradle.properties b/android/gradle.properties index df64ae4..dcb6662 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,5 +1,5 @@ DigioReactNative_kotlinVersion=1.7.0 DigioReactNative_minSdkVersion=21 -DigioReactNative_targetSdkVersion=34 -DigioReactNative_compileSdkVersion=34 +DigioReactNative_targetSdkVersion=35 +DigioReactNative_compileSdkVersion=35 DigioReactNative_ndkversion=21.4.7075529 diff --git a/example/android/build.gradle b/example/android/build.gradle index bb936a4..5c4726e 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -2,10 +2,10 @@ buildscript { ext { - buildToolsVersion = "33.0.0" + // buildToolsVersion = "33.0.0" minSdkVersion = 24 - compileSdkVersion = 34 - targetSdkVersion = 34 + compileSdkVersion = 35 + targetSdkVersion = 35 // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP. ndkVersion = "23.1.7779620" diff --git a/example/src/App.tsx b/example/src/App.tsx index d055ea4..c49ee9b 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -21,9 +21,9 @@ export default function App() { digio .start( - 'DID2504101805241849RMI7J7L2YS6yy', + 'DID25042217573519794QGI9P27RLKLF', 'akash.kumar@digio.in', - 'GWT2504101805242984REKW9K463NS2S' + 'GWT250422175735425I7RZLI1K4OTV9S' ) .then((res) => { console.log(res); diff --git a/package.json b/package.json index 01c2367..ebfc613 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@digiotech/react-native", - "version": "2.0.2", + "version": "2.0.3", "description": "SDK for invoking client side journey for any of Digio request", "main": "lib/commonjs/index", "module": "lib/module/index",