Skip to content

Commit c3de82b

Browse files
authored
Merge pull request #29 from getyoti/release/DEP-315-1.14.0
[Task] DEP-315: Update RN to 1.14.0 (Android 3.0.0, iOS 3.1.0)
2 parents 033997b + b366efa commit c3de82b

File tree

7 files changed

+18
-12
lines changed

7 files changed

+18
-12
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Navigate to your iOS folder and update pods with:
2020

2121
React Native autolinking will handle the rest of the native configuration. Should autolinking fail, consult the [troubleshooting instructions](#troubleshooting).
2222

23+
**Note**: Make sure to add [`use_frameworks!`](https://guides.cocoapods.org/syntax/podfile.html#use_frameworks_bang) to your [`Podfile`](https://guides.cocoapods.org/using/the-podfile.html).
24+
2325
## React Native 0.59.x installation
2426

2527
Install the library with:

android/build.gradle

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ android {
1111
defaultConfig {
1212
minSdkVersion safeExtGet('minSdkVersion', 21)
1313
targetSdkVersion safeExtGet('targetSdkVersion', 29)
14-
versionCode 199
15-
versionName "1.13.3"
14+
versionCode 200
15+
versionName "1.14.0"
1616
ndk {
1717
abiFilters "armeabi-v7a", "x86"
1818
}
@@ -38,10 +38,13 @@ android {
3838
dependencies {
3939
//noinspection GradleDynamicVersion
4040
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
41-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:2.9.3'
42-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:2.9.3'
43-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:2.9.3'
44-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:2.9.3'
41+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.0.0'
42+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.0.0'
43+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.0.0'
44+
// Version with an embedded AI model
45+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.0.0'
46+
// Alternative version without an embedded AI model, ~20 MB smaller in size
47+
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.0.0'
4548
}
4649

4750
allprojects {

example/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
android:label="@string/app_name"
99
android:icon="@mipmap/ic_launcher"
1010
android:roundIcon="@mipmap/ic_launcher_round"
11+
android:supportsRtl="true"
1112
android:theme="@style/AppTheme">
1213
<activity
1314
android:name=".MainActivity"

example/ios/example.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@
922922
INFOPLIST_FILE = example/Info.plist;
923923
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
924924
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
925-
MARKETING_VERSION = 1.13.3;
925+
MARKETING_VERSION = 1.14.0;
926926
OTHER_LDFLAGS = (
927927
"$(inherited)",
928928
"-ObjC",
@@ -952,7 +952,7 @@
952952
INFOPLIST_FILE = example/Info.plist;
953953
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
954954
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
955-
MARKETING_VERSION = 1.13.3;
955+
MARKETING_VERSION = 1.14.0;
956956
OTHER_LDFLAGS = (
957957
"$(inherited)",
958958
"-ObjC",

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example",
3-
"version": "1.13.3",
3+
"version": "1.14.0",
44
"private": true,
55
"scripts": {
66
"android": "react-native run-android",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@getyoti/react-native-yoti-doc-scan",
3-
"version": "1.13.3",
3+
"version": "1.14.0",
44
"description": "Yoti Doc Scan for React Native",
55
"main": "YotiDocScan.js",
66
"license": "SEE LICENSE IN LICENSE",

react-native-yoti-doc-scan.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ Pod::Spec.new do |spec|
1414
spec.source_files = "ios/**/*.{h,m}"
1515
spec.platform = :ios, "13.0"
1616
spec.dependency "React"
17-
spec.dependency "YotiSDKDocument", "3.0.3"
18-
spec.dependency "YotiSDKFaceTec", "3.0.3"
17+
spec.dependency "YotiSDKDocument", "3.1.0"
18+
spec.dependency "YotiSDKFaceTec", "3.1.0"
1919
end

0 commit comments

Comments
 (0)