Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Proguard Settings #2

Open
arietrouw opened this issue Jan 26, 2022 · 1 comment
Open

Proguard Settings #2

arietrouw opened this issue Jan 26, 2022 · 1 comment

Comments

@arietrouw
Copy link
Member

Observed: The SDK breaks if the consuming app uses minifyEnabled and/or shrinkResources

Expected: SDK should no break, regardless of consumer settings

Notes:

This is mostly cause by the mochi generated classes getting removed/changed

this may be solution:
consumerProguardFiles 'proguard-rules.pro'

https://stackoverflow.com/questions/40232189/how-to-apply-proguard-to-aar-library-in-android

square/moshi#345

@Jonesricky22
Copy link

15mqtsD4ZzKAbQRZEYso1dtjbHArRaoj9tEJSL1qCZMDADDrMBMf3MUdzDznJaJtMxZpgTc8WhpLPABXjmjBtWXkqaS

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

No branches or pull requests

2 participants