From 5ad448589968db63312625667e95b9e862e24d2f Mon Sep 17 00:00:00 2001 From: Maria Senosiain Date: Thu, 21 Apr 2022 16:42:22 +0100 Subject: [PATCH] Bump up Android dependencies to version 1.3.4 (Android 12 compatibility) Related to YM-26407 --- CHANGELOG.md | 5 ++++- android/build.gradle | 12 ++++++------ example/package.json | 2 +- package.json | 2 +- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56ae1f5..0e45a97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # ChangeLog +## Version 2.1.1 -## Version 2.1.0 +Android 12 support + +## Version 2.1.0 - This version contains an issue on callbacks. Please jump to 2.1.1 Android 12 support diff --git a/android/build.gradle b/android/build.gradle index 8aec4c2..8c1a140 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -5,14 +5,14 @@ def safeExtGet(prop, fallback) { } android { - compileSdkVersion safeExtGet('compileSdkVersion', 28) + compileSdkVersion safeExtGet('compileSdkVersion', 31) buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3') defaultConfig { - minSdkVersion safeExtGet('minSdkVersion', 16) - targetSdkVersion safeExtGet('targetSdkVersion', 28) - versionCode 210 - versionName "2.1.0" + minSdkVersion safeExtGet('minSdkVersion', 21) + targetSdkVersion safeExtGet('targetSdkVersion', 31) + versionCode 211 + versionName "2.1.1" ndk { abiFilters "armeabi-v7a", "x86" } @@ -22,5 +22,5 @@ android { dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}" - implementation "com.yoti.mobile.android.sdk:yoti-button-sdk:1.3.2" + implementation "com.yoti.mobile.android.sdk:yoti-button-sdk:1.3.4" } diff --git a/example/package.json b/example/package.json index 27b9237..16fe184 100644 --- a/example/package.json +++ b/example/package.json @@ -1,6 +1,6 @@ { "name": "example", - "version": "2.1.0", + "version": "2.1.1", "private": true, "scripts": { "android": "react-native run-android", diff --git a/package.json b/package.json index 3b0fec8..633e2d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@getyoti/react-native-yoti-button", - "version": "2.1.0", + "version": "2.1.1", "description": "A component for React Native", "main": "YotiButton.js", "license": "MIT",