Skip to content

fix: ship the plugin's proguard rules to apps - #156

Merged
ItsChaceD merged 1 commit into
mainfrom
fix/RMET-5530/android-consumer-rules
Oct 23, 2026
Merged

ItsChaceD merged 1 commit into
mainfrom
fix/RMET-5530/android-consumer-rules

Conversation

@ItsChaceD

Copy link
Copy Markdown
Contributor

Description

New plugins now wire android/proguard-rules.pro through consumerProguardFiles and list it in files, so rules a plugin author writes reach apps. Today the file is neither wired nor packed, so its rules never run.

Tested by generating a plugin with this branch, adding a keep rule, and packing it with npm pack. In a Capacitor 9.0.0-alpha.8 app with R8 on, the rule is in the app's R8 configuration and keeps its class.

Change Type

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

Rationale / Problems Fixed

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

Platforms Affected

  • Android
  • iOS
  • Web

@ItsChaceD
ItsChaceD merged commit 081b1d3 into main Oct 23, 2026
4 checks passed
@ItsChaceD
ItsChaceD deleted the fix/RMET-5530/android-consumer-rules branch October 23, 2026 14:40
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