Android aar library obfuscation

Question!

I've got an .aar library that will get supplied to customers to be used in their applications. This library is basically an API with several web service calls to our own services. By looking at the .class files of this .aar it is quite easy to get the server addresses and guess the GET parameters.

This is what I'd like to avoid. Is there any way to hide those addresses from people looking at the class files?

By : AlBirdie


Answers

Proguard has built-in support free in the Android build system but will not encrypt strings.

Dexguard is a paid tool that includes string encryption and other features.

For a full comparison see this chart: https://www.saikoa.com/comparison-proguard-and-dexguard

By : odexcide


This video can help you solving your question :)
By: admin