Skip to content

Commit

Permalink
Merge pull request #41 from getyoti/release/DEP-460-3.0.1
Browse files Browse the repository at this point in the history
[Task] DEP-460: RN 3.0.1
  • Loading branch information
asklausen authored Jul 11, 2024
2 parents a47f688 + 56231ab commit 406a5f1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
Expand Down Expand Up @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion ios/RNYotiDocScan.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 406a5f1

Please sign in to comment.