Skip to content

Support Android 15#127

Merged
sshropshire merged 13 commits intomasterfrom
support_android_15
Oct 3, 2024
Merged

Support Android 15#127
sshropshire merged 13 commits intomasterfrom
support_android_15

Conversation

@sshropshire
Copy link
Collaborator

Summary of changes

  • Add support for Android 15

Checklist

  • Added a changelog entry

Authors

List GitHub usernames for everyone who contributed to this pull request.

@sshropshire sshropshire requested a review from a team as a code owner September 23, 2024 15:22
uses: actions/setup-java@v2
with:
java-version: '8'
java-version: '17'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Java 17 required to compile card form now? Is this a breaking change then?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be I don't see an explicit Java version specified in the build.gradle. I updated the build.gradle file to make it explicit.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess I'm trying to understand - can we support Android 15 without bumping the java version? Or are we doing a major version of card form here? I more so am concerned that this change will force a major version in drop-in which I don't think we want to do yet

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh got it yeah I forgot DropIn doesn't use v5 yet. AGP uses JDK 17 to build, but we can set sourceCompatability to Java 8 and it should be fine.

}

compileOptions {
sourceCompatibility versions.javaSourceCompatibility
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be Java 8 instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it's 8 I made the change here: b0d4a3d

Co-authored-by: Sarah Koop <skoop@paypal.com>
@sshropshire sshropshire merged commit 3228e03 into master Oct 3, 2024
@sshropshire sshropshire deleted the support_android_15 branch October 3, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants