Skip to content

Lower minSdk from 26 → 24#110

Merged
joshpensky merged 5 commits into
mainfrom
josh/exp-1102-downgrade-minsdk-version-in-android-from-26-24
Jun 30, 2026
Merged

Lower minSdk from 26 → 24#110
joshpensky merged 5 commits into
mainfrom
josh/exp-1102-downgrade-minsdk-version-in-android-from-26-24

Conversation

@joshpensky

@joshpensky joshpensky commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Lowers `minSdk` from 26 (Android 8.0 Oreo) to 24 (Android 7.0 Nougat) across all modules: `evervault-core`, `evervault-cages`, `evervault-enclaves`, `evervault-inputs`, `sampleapplication`, and `examples/shared`
  • Lowers `minCompileSdk` in AAR metadata from 26 to 24 for all library modules — consumers of the library now only need `compileSdk >= 24`
  • Replaces `java.time.*` usage (`LocalDate`, `YearMonth`) with `java.util.Calendar` in `CreditCardExpirationDateValidator` — `java.time` is only available on API 26+
  • Upgrades `evervault-pay` dependency to v0.0.30, which includes the same minSdk reduction

Breaking changes

None. This widens the range of supported devices without removing any APIs.

Device coverage

Raises Google Play coverage from ~94% to ~97% of active Android devices.

Test plan

  • Build all modules and confirm no lint warnings about API level usage
  • Run existing instrumented tests on an API 24 emulator/device

🤖 Generated with Claude Code

Extends support to Android 7.0 (Nougat) devices. All APIs in use are
Java standard library (java.*, javax.crypto.*) compatible with API 21+;
no Android 26-specific APIs are called, so no runtime guards are needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jun 30, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fe12e89

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
evervault-android Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@socket-security

socket-security Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedmaven/​io.netty/​netty-codec-http2@​4.1.133.Final ⏵ 4.1.135.Final66100 +410075100

View full report

@socket-security

socket-security Bot commented Jun 30, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: maven io.netty:netty-codec is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: evervault-cages/gradle.lockfilemaven/io.netty/netty-codec-http2@4.1.135.Finalmaven/io.netty/netty-codec@4.1.135.Final

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/io.netty/netty-codec@4.1.135.Final. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: maven io.netty:netty-codec is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: evervault-cages/gradle.lockfilemaven/io.netty/netty-codec-http2@4.1.135.Finalmaven/io.netty/netty-codec@4.1.135.Final

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/io.netty/netty-codec@4.1.135.Final. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@joshpensky joshpensky changed the title Lower minSdkVersion from 26 to 24 Lower minSdk from 26 → 24 Jun 30, 2026
@joshpensky joshpensky self-assigned this Jun 30, 2026
@joshpensky joshpensky marked this pull request as ready for review June 30, 2026 13:29
@joshpensky joshpensky merged commit 3a12ee5 into main Jun 30, 2026
5 checks passed
@joshpensky joshpensky deleted the josh/exp-1102-downgrade-minsdk-version-in-android-from-26-24 branch June 30, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants