Skip to content

Commit

Permalink
v11.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
RN SDK Release User committed Apr 9, 2024
1 parent 498a3fd commit 24fff26
Show file tree
Hide file tree
Showing 12 changed files with 377 additions and 457 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [11.1.0] - 2024-03-06

### Changed:

- Updated underlying Onfido native SDK version:
- iOS 29.9.1 (up from 29.8.x)
- Android 20.1.x (up from 20.0.x)

## [11.0.0] - 2024-03-06

### Changed:
Expand Down
801 changes: 355 additions & 446 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions SampleApp/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ PODS:
- ReactCommon/turbomodule/core (= 0.72.6)
- fmt (6.2.1)
- glog (0.3.5)
- Onfido (29.8.0)
- Onfido (29.9.1)
- onfido-react-native-sdk (11.0.0):
- Onfido (~> 29.8.0)
- Onfido (~> 29.9.1)
- React
- RCT-Folly (2021.07.22.00):
- boost
Expand Down
2 changes: 1 addition & 1 deletion SampleApp/yalc.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": "v1",
"packages": {
"@onfido/react-native-sdk": {
"signature": "a1833a667b1c123996db959dd023ace3",
"signature": "fea1da3c7a9041b1b0d2e489625d9c5a",
"file": true
}
}
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def DEFAULT_COMPILE_SDK_VERSION = 33
def DEFAULT_MIN_SDK_VERSION = 21
def DEFAULT_TARGET_SDK_VERSION = 31
def NATIVE_ANDROID_SDK_VERSION = "20.0.+"
def NATIVE_ANDROID_SDK_VERSION = "20.1.+"

def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
Expand Down
2 changes: 1 addition & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

<meta-data
android:name="onfido_integration_version"
android:value="11.0.0" />
android:value="11.1.0" />
</application>
</manifest>
4 changes: 2 additions & 2 deletions ios/OnfidoConfigBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ struct OnfidoConfigBuilder {
private func enterpriseFeatures(for config: OnfidoPluginConfig) throws -> EnterpriseFeatures {
let enterpriseFeatures = EnterpriseFeatures.builder()

if let hideLogo = config.hideLogo {
if let hideLogo = config.hideLogo, hideLogo {
enterpriseFeatures.withHideOnfidoLogo(hideLogo)
}

Expand All @@ -245,7 +245,7 @@ struct OnfidoConfigBuilder {
enterpriseFeatures.withCobrandingLogo(cobrandLogo, cobrandingLogoDarkMode: cobrandLogoDark)
}

if let disableMobileSdkAnalytics = config.disableMobileSdkAnalytics {
if let disableMobileSdkAnalytics = config.disableMobileSdkAnalytics, disableMobileSdkAnalytics {
enterpriseFeatures.withDisableMobileSdkAnalytics(disableMobileSdkAnalytics)
}

Expand Down
2 changes: 1 addition & 1 deletion ios/PluginMetadata.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ - (instancetype)init
self = [super init];
if (self) {
_pluginPlatform = @"react-native";
_pluginVersion = @"11.0.0";
_pluginVersion = @"11.1.0";
}
return self;
}
Expand Down
2 changes: 1 addition & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : Flip
# end

target 'OnfidoSdk' do
pod 'Onfido', '~> 29.8.0'
pod 'Onfido', '~> 29.9.1'

config = use_native_modules!
use_react_native!(
Expand Down
3 changes: 3 additions & 0 deletions js/config_constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ export type OnfidoFaceVideoCapture = {
export type OnfidoFaceMotionCapture = {
type: OnfidoCaptureType.MOTION;
recordAudio?: boolean;
/**
* @deprecated Motion is now supported on all devices. There is no need to provide a capture fallback as it will not be applied.
*/
motionCaptureFallback?: OnfidoFaceSelfieCapture | OnfidoFaceVideoCapture;
};

Expand Down
2 changes: 1 addition & 1 deletion onfido-react-native-sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ Pod::Spec.new do |s|
s.requires_arc = true

s.dependency "React"
s.dependency "Onfido", "~> 29.8.0"
s.dependency "Onfido", "~> 29.9.1"
end
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@onfido/react-native-sdk",
"title": "React Native Onfido Sdk",
"version": "11.0.0",
"version": "11.1.0",
"description": "Onfido React Native SDK",
"main": "index.ts",
"scripts": {
Expand Down

0 comments on commit 24fff26

Please sign in to comment.