Skip to content

fix(android): address Google Play automated review recommendations - #85

Merged
sebsto merged 2 commits into
mainfrom
fix/android-google-review
Aug 12, 2026
Merged

sebsto merged 2 commits into
mainfrom
fix/android-google-review

Conversation

@sebsto

@sebsto sebsto commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Edge-to-edge (SDK 35): Added values-v35/themes.xml to explicitly opt into edge-to-edge display on Android 15+, in addition to the existing enableEdgeToEdge() call in MainActivity
  • Deprecated APIs: Bumped androidx.core:core-ktx from 1.15.01.16.0 in Maxi80Services/Skip/skip.yml to pull in a newer androidx.activity that removes the deprecated setStatusBarColor/setNavigationBarColor shims Google flagged
  • R8 optimization: Replaced blanket -keep class androidx.media3.** { *; } with a targeted -keep class androidx.media3.exoplayer.ExoPlayerImpl { *; } in proguard-rules.pro; scoped -keeppackagenames from ** to only maxi80.**/skip.**/tools.skip.** — this unblocks R8 from optimizing ~2 MB of media3 bytecode and flattening third-party package names

Test plan

  • swift test --no-parallel — 251 tests pass (2 pre-existing failures on main unrelated to this change)
  • cd Android && ./gradlew assembleRelease — BUILD SUCCESSFUL (verified locally, mapping.txt 849k lines confirming aggressive R8 obfuscation)
  • Install release APK on device/emulator, confirm app launches, audio plays, and notification updates — required before Play Store upload given project history with R8/ClassNotFoundException

Notes

The deprecated API calls Google flagged (Window.setStatusBarColor, Window.setNavigationBarColor, LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES) trace to library internals (androidx.activity.z.b/x.a), not app code. Bumping core-ktx updates the transitive androidx.activity dependency that contains those shims.

These are Google Play recommendations, not review blockers — the 5.0.7 release currently in review will proceed regardless.

🤖 Generated with Claude Code

sebsto and others added 2 commits August 12, 2026 13:43
…x to 1.16.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ket media3 keep with targeted ExoPlayerImpl keep
Copilot AI lite review requested due to automatic review settings August 12, 2026 12:06

Copilot AI 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.

Pull request overview

Updates Android configuration to align with Google Play automated review recommendations, focusing on Android 15 edge-to-edge behavior, dependency hygiene around deprecated system bar APIs, and improved R8 optimization while preserving required JNI/Skip bridge entry points.

Changes:

  • Bump androidx.core:core-ktx to 1.16.0 in Maxi80Services Android Gradle deps (via skip.yml).
  • Add an Android 15+ (values-v35) theme override to explicitly opt into edge-to-edge enforcement.
  • Tighten proguard-rules.pro by scoping -keeppackagenames and narrowing the Media3 keep rule to ExoPlayerImpl.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
Sources/Maxi80Services/Skip/skip.yml Updates Android dependency version for androidx.core:core-ktx.
Android/app/src/main/res/values-v35/themes.xml Adds API 35 theme override to explicitly opt into edge-to-edge enforcement.
Android/app/proguard-rules.pro Refines keep/package-name rules to improve R8 shrinking/obfuscation while preserving required bridge/JNI behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Android/app/src/main/res/values-v35/themes.xml
@sebsto sebsto self-assigned this Aug 12, 2026
@sebsto sebsto added this to the 5.2 milestone Aug 12, 2026
@sebsto
sebsto merged commit 0341e70 into main Aug 12, 2026
4 checks passed
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.

2 participants