Skip to content

Commit

Permalink
DEP-398: Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
asklausen committed Aug 3, 2023
1 parent fa0269d commit a04d396
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 28 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Continuing with your integration for Android, add the following property and rep
```groovy
buildscript {
ext {
yotiSdkVersion = "3.1.0"
yotiSdkVersion = "3.1.1"
}
}
allprojects {
Expand Down Expand Up @@ -86,7 +86,7 @@ And if you have included `YotiSDKIdentityDocument` in your target, make sure to
## Usage
### 1. Import module
```javascript
import RNYotiDocScan from '@getyoti/-yoti-doc-scan-react-native';
import RNYotiDocScan from '@getyoti/yoti-doc-scan-react-native';
```
### 2. Launch a session
Launch a session with its required parameters using the `startSession` function.
Expand All @@ -109,7 +109,7 @@ To customize the colors on Android, please refer to its separate [documentation]

In addition, you can choose to also specify a request code on Android:
```javascript
YotiDocScan.setRequestCode(0); // default: 9001
RNYotiDocScan.setRequestCode(0); // default: 9001
```

## Supported languages
Expand Down Expand Up @@ -155,7 +155,7 @@ Code | Description
7000 | The user did not have the required documents

## Support
If you have any questions, please do not hesitate to contact clientsupport@yoti.com. Once we have answered your question, we may contact you again to discuss Yoti products and services. If you'd prefer us not to do this, please let us know when you e-mail.
For any questions or support please contact us [here](https://support.yoti.com). Once we have answered your question, we may contact you again to discuss Yoti products and services. If you'd prefer us not to do this, please let us know when you e-mail.

## Licence
See the licence for our SDK [here](https://www.yoti.com/terms/identity-verification).
See the licence [here](https://www.yoti.com/terms/identity-verification).
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ dependencies {
implementation "com.facebook.react:react-native:0.68.5"
implementation "com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:${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}"
implementation "com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:${rootProject.ext.yotiSdkVersion}"
//implementation "com.yoti.mobile.android.sdk:yoti-sdk-facecapture:${rootProject.ext.yotiSdkVersion}" // With embedded AI model
//implementation "com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:${rootProject.ext.yotiSdkVersion}" // Without embedded AI model - around 20 MB smaller in size

Expand Down
2 changes: 1 addition & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
yotiSdkVersion = "3.1.0"
yotiSdkVersion = "3.1.1"
}
repositories {
google()
Expand Down
7 changes: 0 additions & 7 deletions example/ios/Demo/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <React/RCTBridgeDelegate.h>
#import <UIKit/UIKit.h>

Expand Down
7 changes: 0 additions & 7 deletions example/ios/Demo/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import "AppDelegate.h"
#import <React/RCTBridge.h>
#import <React/RCTBundleURLProvider.h>
Expand Down
7 changes: 0 additions & 7 deletions example/ios/Demo/main.m
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <UIKit/UIKit.h>
#import "AppDelegate.h"

Expand Down

0 comments on commit a04d396

Please sign in to comment.