From 56231ab661a1e84721738503214dfa3afbf48eea Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 8 Jul 2024 10:45:23 +0100 Subject: [PATCH] DEP-460: Updates --- README.md | 6 +++--- android/build.gradle | 4 ++-- ios/RNYotiDocScan.m | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 883eb6c..ee6fb6a 100644 --- a/README.md +++ b/README.md @@ -43,11 +43,11 @@ dependencies { // With automatic capture via OCR and NFC capture implementation "com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:${rootProject.ext.yotiSdkVersion}" // With manual capture only, no OCR, no NFC - around 14Mb smaller in size - implementation "com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-slim:${rootProject.ext.yotiSdkVersion}" + implementation "com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-slim:${rootProject.ext.yotiSdkVersion}" implementation "com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:${rootProject.ext.yotiSdkVersion}" implementation "com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:${rootProject.ext.yotiSdkVersion}" // With embedded AI model - implementation "com.yoti.mobile.android.sdk:yoti-sdk-facecapture:${rootProject.ext.yotiSdkVersion}" + implementation "com.yoti.mobile.android.sdk:yoti-sdk-facecapture:${rootProject.ext.yotiSdkVersion}" // Without embedded AI model - around 20 MB smaller in size implementation "com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:${rootProject.ext.yotiSdkVersion}" } @@ -110,7 +110,7 @@ RNYotiDocScan.startSession(id, token, successCallback, errorCallback); ### 3. Customizations On iOS, you can set the primary color using the following API: ```javascript -RNYotiDocScan.setPrimaryColorRGB(0, 0, 0); // default: (34, 157, 255) +RNYotiDocScan.setPrimaryColorRGB(0, 0, 0); // default: (40, 117, 188) ``` To customize the colors on Android, please refer to its separate [documentation](https://github.com/getyoti/yoti-doc-scan-android#colours). diff --git a/android/build.gradle b/android/build.gradle index 4518ec6..c933fdd 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -10,8 +10,8 @@ android { defaultConfig { minSdkVersion safeExtGet('minSdkVersion', 21) targetSdkVersion safeExtGet('targetSdkVersion', 33) - versionCode 300 - versionName "3.0.0" + versionCode 301 + versionName "3.0.1" ndk { abiFilters "armeabi-v7a", "x86" } diff --git a/ios/RNYotiDocScan.m b/ios/RNYotiDocScan.m index 94b71c0..5484be6 100644 --- a/ios/RNYotiDocScan.m +++ b/ios/RNYotiDocScan.m @@ -102,7 +102,7 @@ - (UIColor * _Nonnull)primaryColorFor:(YotiSDKNavigationController * _Nonnull)na if (_primaryColor != nil) { return _primaryColor; } else { - return [UIColor colorWithRed:34.0/255.0 green:157.0/255.0 blue:255.0/255.0 alpha:1.0]; + return [UIColor colorWithRed:40.0/255.0 green:117.0/255.0 blue:188.0/255.0 alpha:1.0]; } } diff --git a/package.json b/package.json index 08b75ee..bc864a3 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "license": "https://www.yoti.com/terms/identity-verification", "author": "Yoti Ltd", "main": "RNYotiDocScan.js", - "version": "3.0.0", + "version": "3.0.1", "devDependencies": { "react": "^17.0.2", "react-dom": "^17.0.2",