Skip to content

Target Android 16 (API 36) - #212

Merged
phanan merged 1 commit into
masterfrom
chore/target-sdk-36
Aug 8, 2026
Merged

Target Android 16 (API 36)#212
phanan merged 1 commit into
masterfrom
chore/target-sdk-36

Conversation

@phanan

@phanan phanan commented Aug 8, 2026

Copy link
Copy Markdown
Member

Play Console: "Your highest non-compliant target API level is Android 15 (API level 35). To ensure that you can continue to make updates to your app you must update your app to target Android 16 (API level 36) or higher."

compileSdk was already 36, so this is the one line that was left.

Why this is low-risk here

The behaviour changes that come with targeting 36 are all already accounted for:

Change Status
Edge-to-edge opt-out removed Already edge-to-edge — MainActivity.onCreate calls setDecorFitsSystemWindows(window, false)
Predictive back on by default Already opted in via enableOnBackInvokedCallback="true"; back nav was fixed in #152
Orientation/resize restrictions ignored on large screens Manifest sets neither screenOrientation nor resizeableActivity
Media foreground service rules foregroundServiceType="mediaPlayback" with the matching permission already declared

Verified

Bundle manifest from the release build:

versionCode="500"  versionName="2.2.10"  minSdkVersion="24"  targetSdkVersion="36"

versionCode 500 is 50 * 10 + 0 from the ABI scheme in build.gradle:98, consistent with build 47 having shipped as 470.

Not verified on an Android device. This changes runtime behaviour opt-ins; it wants a smoke test on hardware — launch, playback, back gesture, notification controls — before going to production. Play's internal testing track is the natural place.

Summary by CodeRabbit

  • Maintenance
    • Updated the Android app to target the latest supported Android SDK version.

Play requires API 36 to keep publishing updates. compileSdk was already 36,
and the behaviour changes that come with targeting it are all already handled:
the app draws edge-to-edge, opts into predictive back, and never restricted
orientation or resizability.
@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f3d90761-f618-477d-a8ae-fa127cbb026b

📥 Commits

Reviewing files that changed from the base of the PR and between 3593d8b and b7b1248.

📒 Files selected for processing (1)
  • android/app/build.gradle

📝 Walkthrough

Walkthrough

The Android app’s targetSdkVersion changes from 35 to 36 in the app build configuration.

Changes

Android SDK configuration

Layer / File(s) Summary
Update target SDK configuration
android/app/build.gradle
The Android app now targets SDK version 36.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the increase of the Android target SDK to API 36.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/target-sdk-36

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@phanan
phanan merged commit 7f89252 into master Aug 8, 2026
2 checks passed
@phanan
phanan deleted the chore/target-sdk-36 branch August 8, 2026 13:26
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.

1 participant