Skip to content

Commit f67646e

Browse files
author
RN SDK Release User
committed
v12.1.0 release
1 parent 5b849d2 commit f67646e

File tree

10 files changed

+24
-12
lines changed

10 files changed

+24
-12
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [12.1.0] - 2024-05-21
9+
10+
### Changed:
11+
12+
- Updated underlying Onfido native SDK version:
13+
- iOS 30.1.x (up from 29.9.x)
14+
- Android 20.3.x (up from 20.2.x)
15+
816
## [12.0.0] - 2024-04-24
917

1018
### Changed:

SampleApp/ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ PODS:
1111
- ReactCommon/turbomodule/core (= 0.72.6)
1212
- fmt (6.2.1)
1313
- glog (0.3.5)
14-
- Onfido (30.0.0)
14+
- Onfido (30.1.0)
1515
- onfido-react-native-sdk (11.1.0):
16-
- Onfido (~> 30.0.0)
16+
- Onfido (~> 30.1.0)
1717
- React
1818
- RCT-Folly (2021.07.22.00):
1919
- boost
@@ -529,8 +529,8 @@ SPEC CHECKSUMS:
529529
FBReactNativeSpec: 966f29e4e697de53a3b366355e8f57375c856ad9
530530
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
531531
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
532-
Onfido: c6f161967f23fdbfcc00abe8c9a5553ef682064a
533-
onfido-react-native-sdk: 51810ead9339edf7b139d3686fe55d865021302d
532+
Onfido: 5ae21e77484df08d64778fd676a12d1285054a20
533+
onfido-react-native-sdk: 39d216b8bf2e99061454c8d578e9e086e02c540d
534534
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
535535
RCTRequired: 28469809442eb4eb5528462705f7d852948c8a74
536536
RCTTypeSafety: e9c6c409fca2cc584e5b086862d562540cb38d29

SampleApp/yalc.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"version": "v1",
33
"packages": {
44
"@onfido/react-native-sdk": {
5-
"signature": "55bd16832c6018d5b6cce30858c1fad9",
5+
"signature": "59e62218a9637ceaa2f523da28a418c9",
66
"file": true
77
}
88
}

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
def DEFAULT_COMPILE_SDK_VERSION = 33
1414
def DEFAULT_MIN_SDK_VERSION = 21
1515
def DEFAULT_TARGET_SDK_VERSION = 31
16-
def NATIVE_ANDROID_SDK_VERSION = "20.2.+"
16+
def NATIVE_ANDROID_SDK_VERSION = "20.3.+"
1717

1818
def safeExtGet(prop, fallback) {
1919
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback

android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88

99
<meta-data
1010
android:name="onfido_integration_version"
11-
android:value="12.0.0" />
11+
android:value="12.1.0" />
1212
</application>
1313
</manifest>

android/src/main/java/com/onfido/reactnative/sdk/OnfidoSdkActivityEventListener.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import com.facebook.react.bridge.BaseActivityEventListener;
99
import com.facebook.react.bridge.Promise;
1010
import com.facebook.react.bridge.WritableMap;
11+
import com.facebook.react.bridge.Arguments;
1112

1213
import com.onfido.android.sdk.capture.ExitCode;
1314
import com.onfido.android.sdk.capture.Onfido;
@@ -55,7 +56,10 @@ private void handleOnfidoWorkflow(OnfidoWorkflow workflow, int resultCode, Inten
5556
@Override
5657
public void onUserCompleted() {
5758
if (currentPromise != null) {
58-
currentPromise.resolve("");
59+
// According to OnfidoResult type definition; Return empty object.
60+
// There are no results to return.
61+
WritableMap map = Arguments.createMap();
62+
currentPromise.resolve(map);
5963
}
6064
}
6165

ios/PluginMetadata.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ - (instancetype)init
77
self = [super init];
88
if (self) {
99
_pluginPlatform = @"react-native";
10-
_pluginVersion = @"12.0.0";
10+
_pluginVersion = @"12.1.0";
1111
}
1212
return self;
1313
}

ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : Flip
2727
# end
2828

2929
target 'OnfidoSdk' do
30-
pod 'Onfido', '~> 30.0.0'
30+
pod 'Onfido', '~> 30.1.0'
3131

3232
config = use_native_modules!
3333
use_react_native!(

onfido-react-native-sdk.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ Pod::Spec.new do |s|
2020
s.requires_arc = true
2121

2222
s.dependency "React"
23-
s.dependency "Onfido", "~> 30.0.0"
23+
s.dependency "Onfido", "~> 30.1.0"
2424
end

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@onfido/react-native-sdk",
33
"title": "React Native Onfido Sdk",
4-
"version": "12.0.0",
4+
"version": "12.1.0",
55
"description": "Onfido React Native SDK",
66
"main": "index.ts",
77
"scripts": {

0 commit comments

Comments
 (0)