Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Min SDK to 23 #796

Merged
merged 3 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions PayPalNativeCheckout/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions v5_MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading