Is it possible to obfuscate Strings in GSON Annotations while using ProGuard?

Viewed 550

i am trying to shrink, optimize and obfuscate my application with ProGuard. Everything works fine except GSON annotations. I have something like this in my application:

@Expose
@SerializedName("testbla")
private String test;

And when im using ProGuard it turns into something like this:

@com.google.a.a.a
@c(a="testbla")
private String a;

So there is some kind of obfuscation but the "testbla" is still readable. Ive read in the documentation that String constants wont get obfuscated by ProGuard (e.g. https://www.guardsquare.com/en/proguard/faq#encrypt). Nevertheless i want to obfuscate those Strings if there is any option. So is there is any possibility then please let me know!

Thanks for your help!

1 Answers
Related