Repository navigation
build(android)!: Raise Android minSdk to 26 - #4049
Conversation
BREAKING CHANGE: Flutter Android apps require minSdk 26 or higher. Co-Authored-By: Codex <noreply@openai.com>
Semver Impact of This PRπ΄ Major (breaking changes) π Changelog PreviewThis is how your changes will appear in the changelog. Breaking Changes
π€ This preview updates automatically when you update the PR. |
Co-Authored-By: Codex <noreply@openai.com>
Codecov Reportβ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v10-branch #4049 +/- ##
=============================================
Coverage ? 92.90%
=============================================
Files ? 114
Lines ? 4567
Branches ? 0
=============================================
Hits ? 4243
Misses ? 324
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. β View full report in Codecov by Harness. |
There was a problem hiding this comment.
Copilot review overview
π‘ Changes recommended
Align the minimum-version test app and remove the manually maintained changelog entry.
Review effort: Lite
Findings: 1
Open (2)
What changed in this PR
Raises Flutter Androidβs minimum SDK from API 21 to API 26.
Changes:
- Updates the library, example app, and microbenchmark app to API 26.
- Adds breaking-change changelog documentation.
| File | Summary | Review |
|---|---|---|
packages/βflutter/βmicrobenchmarks/βandroid/βapp/βbuild.gradle |
Updates app minimum SDK to 26. | Reviewed |
packages/βflutter/βexample/βandroid/βapp/βbuild.gradle |
Updates app minimum SDK to 26. | Reviewed |
packages/βflutter/βandroid/βbuild.gradle |
Raises library minimum SDK to 26. | Update the minimum-version test app to API 26. |
CHANGELOG.md |
Adds breaking-change documentation. | Remove the manual entry. |
π‘ Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Set the minimum-version test app to API 26 to fix manifest merging. Co-Authored-By: Codex <noreply@openai.com>
runningcode
left a comment
There was a problem hiding this comment.
feel free to merge as is, these are non-blocking comments!
Document the Android minimum and required app minSdk setting for v10. Refs getsentry/sentry-dart#4049 Co-Authored-By: Codex <noreply@openai.com>
Include the Android minimum and required minSdk setting in the shared migration guide content. Refs getsentry/sentry-dart#4049 Co-Authored-By: Codex <noreply@openai.com>


π Description
Raise the Flutter Android minimum SDK from API 21 to API 26 and align the example, microbenchmark, and minimum-version test apps.
π‘ Motivation and Context
Set the Android baseline for v10 to API 26 - as discussed internally with the Android team.
Apps adopting v10 must set their Android
minSdkto 26 or higher; devices below API 26 are no longer supported.π How did you test it?
The release manifest-merging task passes locally with Flutter 3.44.0 and minSdk 26. The full local app-bundle build passed manifest merging but stopped later while stripping native debug symbols. The minimum-version CI builds pass on Android, iOS, and web.
π Checklist