Skip to content

build(android)!: Raise Android minSdk to 26 - #4049

Merged
buenaflor merged 3 commits into
v10-branchfrom
codex/build/flutter-android-min-sdk-26
Sep 28, 2026
Merged

buenaflor merged 3 commits into
v10-branchfrom
codex/build/flutter-android-min-sdk-26

Conversation

@buenaflor

@buenaflor buenaflor commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

πŸ“œ 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 minSdk to 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

  • I reviewed submitted code
  • No new PII added
  • All tests passing
  • No breaking changes (intentionally raises the supported Android baseline)

BREAKING CHANGE: Flutter Android apps require minSdk 26 or higher.

Co-Authored-By: Codex <noreply@openai.com>
@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

πŸ”΄ Major (breaking changes)

πŸ“‹ Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Breaking Changes

  • (android) Raise Android minSdk to 26 by buenaflor in #4049

πŸ€– This preview updates automatically when you update the PR.

Co-Authored-By: Codex <noreply@openai.com>
@buenaflor
buenaflor marked this pull request as ready for review September 28, 2026 08:29
Copilot AI lite review requested due to automatic review settings September 28, 2026 08:30
@buenaflor
buenaflor requested a review from denrase as a code owner September 28, 2026 08:30
@buenaflor buenaflor changed the title build(android)!: Raise Flutter minSdk to 26 build(android)!: Raise Android minSdk to 26 Sep 28, 2026

@runningcode runningcode left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

YESSSS!!!!

@codecov

codecov Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (v10-branch@f7fda3a). Learn more about missing BASE report.
βœ… All tests successful. No failed tests found.

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           
Flag Coverage Ξ”
sentry_firebase_remote_config 100.00% <ΓΈ> (?)
sentry_flutter 92.61% <ΓΈ> (?)
sentry_supabase 97.48% <ΓΈ> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

β˜” View full report in Codecov by Harness.
πŸ“’ Have feedback on the report? Share it here.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟑 Changes recommended

Align the minimum-version test app and remove the manually maintained changelog entry.

Review effort: Lite
Findings: 1 High severity Β· 1 Low severity

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.

Comment thread packages/flutter/android/build.gradle Resolved
Comment thread CHANGELOG.md Resolved
Comment thread packages/flutter/android/build.gradle Resolved
Comment thread packages/flutter/android/build.gradle Resolved
Set the minimum-version test app to API 26 to fix manifest merging.

Co-Authored-By: Codex <noreply@openai.com>

@runningcode runningcode left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

feel free to merge as is, these are non-blocking comments!

Comment thread packages/flutter/android/build.gradle Resolved
@buenaflor
buenaflor merged commit 33e9f7e into v10-branch Sep 28, 2026
88 of 89 checks passed
@buenaflor
buenaflor deleted the codex/build/flutter-android-min-sdk-26 branch September 28, 2026 09:41
buenaflor added a commit to getsentry/sentry-docs that referenced this pull request Sep 29, 2026
Document the Android minimum and required app minSdk setting for v10.

Refs getsentry/sentry-dart#4049
Co-Authored-By: Codex <noreply@openai.com>
buenaflor added a commit to getsentry/sentry-docs that referenced this pull request Sep 29, 2026
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>
@buenaflor buenaflor mentioned this pull request Sep 29, 2026
2 tasks
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