Skip to main content
Question

Comply with R8 app optimization

  • August 29, 2026
  • 0 replies
  • 9 views

Forum|alt.badge.img

Hi,

Google Play has recently published the new guidelines for app optimization with R8 and is actively pushing for it (https://developer.android.com/topic/performance/app-optimization/enable-app-optimization).

I want to comply ASAP, but I am also super paranoid about breaking anything related to the payments.

I just updated to:
```
"@revenuecat/purchases-capacitor": "13.4.2",
"@revenuecat/purchases-capacitor-ui": "13.4.2",

```
 

And I found that the dependency comes with the proguard rule:
`-keep class com.revenuecat.** { *; }`

I am happy with all that, all I want is to make sure that once I enable this:

```
minifyEnabled = true
shrinkResources = true
```

nothing breaks.
So I would appreciate the “official” confirmation on this.
Thank you!