Skip to content

Commit

Permalink
Merge pull request #29 from getyoti/release/DEP-315-1.14.0
Browse files Browse the repository at this point in the history
[Task] DEP-315: Update RN to 1.14.0 (Android 3.0.0, iOS 3.1.0)
  • Loading branch information
asklausen authored Mar 7, 2023
2 parents 033997b + b366efa commit c3de82b
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 12 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Navigate to your iOS folder and update pods with:

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

**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).

## React Native 0.59.x installation

Install the library with:
Expand Down
15 changes: 9 additions & 6 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 21)
targetSdkVersion safeExtGet('targetSdkVersion', 29)
versionCode 199
versionName "1.13.3"
versionCode 200
versionName "1.14.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
Expand All @@ -38,10 +38,13 @@ android {
dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:2.9.3'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:2.9.3'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:2.9.3'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:2.9.3'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.0.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.0.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.0.0'
// Version with an embedded AI model
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.0.0'
// Alternative version without an embedded AI model, ~20 MB smaller in size
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.0.0'
}

allprojects {
Expand Down
1 change: 1 addition & 0 deletions example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
Expand Down
4 changes: 2 additions & 2 deletions example/ios/example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@
INFOPLIST_FILE = example/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.13.3;
MARKETING_VERSION = 1.14.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -952,7 +952,7 @@
INFOPLIST_FILE = example/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.13.3;
MARKETING_VERSION = 1.14.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example",
"version": "1.13.3",
"version": "1.14.0",
"private": true,
"scripts": {
"android": "react-native run-android",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@getyoti/react-native-yoti-doc-scan",
"version": "1.13.3",
"version": "1.14.0",
"description": "Yoti Doc Scan for React Native",
"main": "YotiDocScan.js",
"license": "SEE LICENSE IN LICENSE",
Expand Down
4 changes: 2 additions & 2 deletions react-native-yoti-doc-scan.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ Pod::Spec.new do |spec|
spec.source_files = "ios/**/*.{h,m}"
spec.platform = :ios, "13.0"
spec.dependency "React"
spec.dependency "YotiSDKDocument", "3.0.3"
spec.dependency "YotiSDKFaceTec", "3.0.3"
spec.dependency "YotiSDKDocument", "3.1.0"
spec.dependency "YotiSDKFaceTec", "3.1.0"
end

0 comments on commit c3de82b

Please sign in to comment.