Consumer proguard rules are too broad #3560
Labels
core
Issues with the AWS Android Core library
feature-request
Request a new feature
improvement
Improvements and suggestions from community
Describe the bug
SDK's consumer proguard rules include the following rule that affects all enum classes in hosting application (not just the ones belonging to this SDK):
There are enum classes in my application whose members I want to be obfuscated, but the above rule prevents that.
To Reproduce
Create an app with an enum class, consume it somewhere. Build a release version with minification/obfuscation enabled.
Which AWS service(s) are affected?
None, but it affects the hosting app.
Expected behavior
The SDK doesn't affect the obfuscation of host application's enum members.
For example, consider to reduce rule's scope only to classes in
com.amazonaws
orcom.amazon
packages:Environment Information (please complete the following information):
The text was updated successfully, but these errors were encountered: