Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(android): avoid R8 optimizations remove plugin classes #6783

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

jcesarmobile
Copy link
Member

With the update to gradle 8, now R8 is being used for code shrinking/obfuscating and current proguard rules don't seem to be enough and it's removing all plugin classes.

I've added a new rule that avoids R8 removing classes that extend com.getcapacitor.Plugin class (all Capacitor plugins).

@jcesarmobile jcesarmobile merged commit cc85df5 into main Aug 2, 2023
@jcesarmobile jcesarmobile deleted the WN-1274 branch August 2, 2023 21:17
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants