diff --git a/README.md b/README.md index 17bf458..af06c58 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 @@ -96,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 @@ -181,7 +185,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..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.10")) + 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") @@ -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/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/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..c49ee9b 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -21,9 +21,9 @@ export default function App() { digio .start( - 'KID250220172348723LZOELQQ99NSVSP', + 'DID25042217573519794QGI9P27RLKLF', 'akash.kumar@digio.in', - 'GWT250220172348753FOJYJA8DXAU2OS' + 'GWT250422175735425I7RZLI1K4OTV9S' ) .then((res) => { console.log(res); diff --git a/package.json b/package.json index 65ad43b..ebfc613 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@digiotech/react-native", - "version": "2.0.1", + "version": "2.0.3", "description": "SDK for invoking client side journey for any of Digio request", "main": "lib/commonjs/index", "module": "lib/module/index",