How to use Proguard with Capacitor

I’d take a look at the following resources

All you should need for your project is the code block in this section unless you have a lot of custom plugins. https://developer.android.com/studio/build/shrink-code#enable