From 435fcbc1dc607a1496eae2d4cf35230c84ff1ac5 Mon Sep 17 00:00:00 2001 From: Sarah Koop Date: Wed, 4 Oct 2023 11:13:16 -0500 Subject: [PATCH 1/3] Bump min SDK version to 23 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c083bb175a..e1e06b6ae6 100644 --- a/build.gradle +++ b/build.gradle @@ -101,7 +101,7 @@ version '4.38.3-SNAPSHOT' group 'com.braintreepayments' ext { compileSdkVersion = 34 - minSdkVersion = 21 + minSdkVersion = 23 versionCode = 182 targetSdkVersion = 34 versionName = version From 9ca273a8d52b8df46efc29f73941a6dc60af0bc5 Mon Sep 17 00:00:00 2001 From: Sarah Koop Date: Wed, 4 Oct 2023 11:17:28 -0500 Subject: [PATCH 2/3] Reset PayPalNativeCheckout minSDk version --- PayPalNativeCheckout/build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PayPalNativeCheckout/build.gradle b/PayPalNativeCheckout/build.gradle index 9db062a811..a31450be53 100644 --- a/PayPalNativeCheckout/build.gradle +++ b/PayPalNativeCheckout/build.gradle @@ -8,8 +8,7 @@ android { compileSdkVersion rootProject.compileSdkVersion defaultConfig { - // required to be out of sync with other modules due to checkout SDK min version - minSdkVersion 23 + minSdkVersion rootProject.minSdkVersion targetSdkVersion rootProject.targetSdkVersion testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' From aec501c826577cc39cb7b0219dd42ecda0183d99 Mon Sep 17 00:00:00 2001 From: Sarah Koop Date: Wed, 4 Oct 2023 11:34:01 -0500 Subject: [PATCH 3/3] Update CHANGELOG, README, and MIGRATION_GUIDE --- CHANGELOG.md | 2 ++ README.md | 4 +--- v5_MIGRATION_GUIDE.md | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c02329969a..f81c3c7840 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## unreleased * Breaking Changes + * All Modules + * Bump `minSdkVersion` to API 23 * UnionPay * Remove `union-pay` module * UnionPay cards can now be processed as regular cards (through the `card` module) due to their partnership with Discover diff --git a/README.md b/README.md index a83940925d..e7a8912ad8 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,7 @@ Welcome to Braintree's Android SDK. This library will help you accept card and a :mega:  A new major version of the SDK is now available. See the [v4.9.0+ migration guide](v4.9.0+_MIGRATION_GUIDE.md) for details. -**The Braintree SDK supports Android API 21 and above.** - -> The PayPalNativeCheckout module supports Android API 23 and above. +**The Braintree SDK supports Android API 23 and above.** The Braintree SDK requires Java 8 as of version 4.24.0. See the [CHANGELOG](https://github.com/braintree/braintree_android/blob/main/CHANGELOG.md#4240) for more details. The Braintree SDK uses Kotlin 1.7. diff --git a/v5_MIGRATION_GUIDE.md b/v5_MIGRATION_GUIDE.md index aa16030c0b..03572bc11f 100644 --- a/v5_MIGRATION_GUIDE.md +++ b/v5_MIGRATION_GUIDE.md @@ -4,8 +4,13 @@ See the [CHANGELOG](/CHANGELOG.md) for a complete list of changes. This migratio ## Table of Contents +1. [Android API](#android-api) 1. [Union Pay](#union-pay) +## Android API + +The minimum supported Android API level for v5 of this SDK has increased to 23. + ## Union Pay The `union-pay` module, and all containing classes, was removed in v5. UnionPay cards can now be processed as regular cards, through the `card` module. You no longer need to manage card enrollment via SMS authorization.