fix(android): enable edge-to-edge for Android 15 / API 35 compliance - #249
Closed
richardthe3rd with Copilot wants to merge 2 commits into
Closed
fix(android): enable edge-to-edge for Android 15 / API 35 compliance#249richardthe3rd with Copilot wants to merge 2 commits into
richardthe3rd with Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/richardthe3rd/cambridge-beer-festival-app/sessions/70822198-9a8d-4ead-9a51-8ba30da89986 Co-authored-by: richardthe3rd <573334+richardthe3rd@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Investigate edge-to-edge display issue for Android 15
fix(android): enable edge-to-edge for Android 15 / API 35 compliance
May 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Android 15 mandates edge-to-edge for apps targeting SDK 35. The app was missing the explicit opt-in, triggering a Google Play warning.
Changes
MainActivity.kt— overridesonCreateand callsenableEdgeToEdge()beforesuper.onCreate(), making system bars transparent and providing backward compatibility down to Android 9No Dart-side changes needed — Flutter's
Scaffold,AppBar, andNavigationBaralready consume window insets viaMediaQuery, so layout is unaffected.android/README.md— documents the fix and rationale