Skip to content

feat(android)!: enable R8 by default in release builds - #8659

Open
ItsChaceD wants to merge 1 commit into
nextfrom
feat/RMET-5522/android-r8-default
Open

ItsChaceD wants to merge 1 commit into
nextfrom
feat/RMET-5522/android-r8-default

Conversation

@ItsChaceD

@ItsChaceD ItsChaceD commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Description

New Android apps now build their release with R8 (minifyEnabled true). The template already uses proguard-android-optimize.txt. npx cap migrate makes the same change in the release block of existing apps, and prints the manual step when it can't find a minifyEnabled line there. Apps can opt out by setting it back to false. shrinkResources stays off.

Google Play will require code optimization for larger apps from February 2027.

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation
  • Other (CI, chores, etc.)

Rationale / Problems Fixed

https://outsystemsrd.atlassian.net/browse/RMET-5522

Platforms Affected

  • Android
  • iOS
  • Web

Notes

Should not merge before the R8 fixes it depends on, starting with #8658. The rest are tracked in https://outsystemsrd.atlassian.net/browse/RMET-5455.

@ItsChaceD
ItsChaceD marked this pull request as ready for review October 21, 2026 19:25

This branch has not been deployed

No deployments
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