You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
# Enums are not obfuscated correctly in combination with Gson
-keepclassmembers enum * { *; }
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 or com.amazon packages:
Hi @alipov, our team will take a look into the issue
joon-won
added
bug
Something isn't working
improvement
Improvements and suggestions from community
core
Issues with the AWS Android Core library
and removed
bug
Something isn't working
labels
Apr 8, 2024
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: