From 521100d88ef12f4be939468dca51f5ab4155b2fa Mon Sep 17 00:00:00 2001 From: RN SDK Release User Date: Mon, 9 Dec 2024 12:18:58 +0000 Subject: [PATCH] v14.1.0 release --- CHANGELOG.md | 9 +++++++++ SampleApp/yalc.lock | 2 +- android/build.gradle | 2 +- android/src/main/AndroidManifest.xml | 2 +- ios/OnfidoPluginConfig.swift | 1 + ios/OnfidoSdk.swift | 2 +- ios/PluginMetadata.m | 2 +- package.json | 2 +- 8 files changed, 16 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ac206f..30eedd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ 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). +### Changed: + +- Updated underlying Onfido native SDK version: + - Android 22.1.x (up from 22.0.x) + +### Fixed: + +- The OnfidoTheme.AUTOMATIC now correctly works on iOS. + ## [14.0.0] - 2024-11-04 ### Changed: diff --git a/SampleApp/yalc.lock b/SampleApp/yalc.lock index d63fb39..8d806ee 100644 --- a/SampleApp/yalc.lock +++ b/SampleApp/yalc.lock @@ -2,7 +2,7 @@ "version": "v1", "packages": { "@onfido/react-native-sdk": { - "signature": "3b0c59d25fc4608a0d90b02ab5e7ea90", + "signature": "d9d96eaa5824a5f1825edf95df7038eb", "file": true } } diff --git a/android/build.gradle b/android/build.gradle index a62ca9d..b6d96e6 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -13,7 +13,7 @@ def DEFAULT_COMPILE_SDK_VERSION = 34 def DEFAULT_MIN_SDK_VERSION = 21 def DEFAULT_TARGET_SDK_VERSION = 34 -def NATIVE_ANDROID_SDK_VERSION = "22.0.+" +def NATIVE_ANDROID_SDK_VERSION = "22.1.+" def safeExtGet(prop, fallback) { rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 5298bce..26c69aa 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -8,6 +8,6 @@ + android:value="14.1.0" /> diff --git a/ios/OnfidoPluginConfig.swift b/ios/OnfidoPluginConfig.swift index a028da8..e7c3c79 100644 --- a/ios/OnfidoPluginConfig.swift +++ b/ios/OnfidoPluginConfig.swift @@ -51,6 +51,7 @@ struct OnfidoLocalisation: Codable { enum Theme: String, Codable { case dark = "DARK" case light = "LIGHT" + case automatic = "AUTOMATIC" } enum OnfidoDocumentType: String, Codable { diff --git a/ios/OnfidoSdk.swift b/ios/OnfidoSdk.swift index 0c0c6f7..7280c9a 100644 --- a/ios/OnfidoSdk.swift +++ b/ios/OnfidoSdk.swift @@ -52,7 +52,7 @@ final class OnfidoSdk: RCTEventEmitter { appearance.setUserInterfaceStyle(.dark) case .light: appearance.setUserInterfaceStyle(.light) - default: + case .automatic: appearance.setUserInterfaceStyle(.unspecified) } } diff --git a/ios/PluginMetadata.m b/ios/PluginMetadata.m index b791b30..ffcb32d 100644 --- a/ios/PluginMetadata.m +++ b/ios/PluginMetadata.m @@ -13,7 +13,7 @@ - (instancetype)init self = [super init]; if (self) { _pluginPlatform = @"react-native"; - _pluginVersion = @"14.0.0"; + _pluginVersion = @"14.1.0"; } return self; } diff --git a/package.json b/package.json index 2359b84..a975ec2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@onfido/react-native-sdk", "title": "React Native Onfido Sdk", - "version": "14.0.0", + "version": "14.1.0", "description": "Onfido React Native SDK", "main": "index.ts", "scripts": {