Skip to content

docs: add R8 guidance for Capacitor 9 - #622

Merged
ItsChaceD merged 1 commit into
mainfrom
docs/RMET-5531/android-r8
Oct 23, 2026
Merged

ItsChaceD merged 1 commit into
mainfrom
docs/RMET-5531/android-r8

Conversation

@ItsChaceD

Copy link
Copy Markdown
Contributor

Description

Documents R8 for Capacitor 9:

  • "Updating to 9.0" lists R8 on by default as a breaking change, with the manual step for when cap migrate can't find minifyEnabled.
  • "Using Proguard" in Android troubleshooting becomes "Using R8", covering release testing, keep rules, the libraries with old keep rules, mapping files, resource shrinking, and turning R8 on in Capacitor 8.
  • "Updating plugins to 9.0" gets a section on what to check, how to ship rules, and how to test.
  • "Cordova Plugins" gets a section on how a Cordova plugin ships its rules.

Change Type

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

Rationale / Problems Fixed

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

Platforms Affected

  • Android
  • iOS
  • Web

Notes

Goes with ionic-team/capacitor#8659, which turns R8 on by default. The Capacitor 8 section assumes 8.5.4 ships ionic-team/capacitor#8646 and #8657.

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
capacitor-docs Ready Ready Preview Oct 21, 2026 5:40pm UTC

Request Review

@ItsChaceD
ItsChaceD merged commit 9f544b4 into main Oct 23, 2026
2 checks passed
@ItsChaceD
ItsChaceD deleted the docs/RMET-5531/android-r8 branch October 23, 2026 14:40

This branch was successfully deployed

1 active deployment
Preview — b9cdd5c9 Deployed Oct 21, 2026 by vercel[bot]
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