Skip to content

Commit

Permalink
Support Android 15 (#274)
Browse files Browse the repository at this point in the history
* Bump Android Target version.

* Update CHANGELOG.

* Add robolectric.properties file to project since Robolectric does not support Android 15.

* Add TODO.

* Bump Robolectric version.

* Change sdk version in Robolectric.

* Add robolectric config settings for CardPayments.

* Add robolectric config for PayPalWebPayments module.

* Bump robolectric target sdk.

* Revert "Bump robolectric target sdk."

This reverts commit 4914ca6.
  • Loading branch information
sshropshire authored Sep 3, 2024
1 parent 7285f90 commit d9b5a10
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
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

* All Modules
* Upgrade compileSdkVersion and targetSdkVersion to API 35
* CardPayments
* Deprecate `CardResult.liabilityShift` property
* Deprecate `CardResult.deepLinkUrl` property
Expand Down
2 changes: 2 additions & 0 deletions CardPayments/src/test/resources/robolectric.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# TODO: remove this file when Robolectric supports API level 35 (Android 15)
sdk=33
2 changes: 2 additions & 0 deletions CorePayments/src/test/resources/robolectric.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# TODO: remove this file when Robolectric supports API level 35 (Android 15)
sdk=33
2 changes: 2 additions & 0 deletions PayPalWebPayments/src/test/resources/robolectric.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# TODO: remove this file when Robolectric supports API level 35 (Android 15)
sdk=33
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
"sdkVersionName" : "1.5.1-SNAPSHOT",
"demoAppVersionCode" : 4,
"androidMinSdkVersion": 21,
"androidTargetVersion": 30
"androidTargetVersion": 35
]

ext.versions = [
Expand Down Expand Up @@ -70,7 +70,7 @@ buildscript {
"androidxTestUiAutomator" : "androidx.test.uiautomator:uiautomator:2.2.0",
"mockk" : "io.mockk:mockk:1.13.5",
"kotlinxAndroidCoroutinesTest": "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.1",
"robolectric" : "org.robolectric:robolectric:4.10.3",
"robolectric" : "org.robolectric:robolectric:4.13",
"jsonAssert" : "org.skyscreamer:jsonassert:1.4.0",
"striktMockk" : "io.strikt:strikt-mockk:0.30.1",
"striktCore" : "io.strikt:strikt-core:0.30.1",
Expand Down

0 comments on commit d9b5a10

Please sign in to comment.