Using ProGuard in Hybrid and Native Android applications
Starting MobileFirst Platform v7.0, you can use Android ProGuard to obfuscate Android code and block reverse engineering attempts of the application.
The Android ProGuard tool can be used to obfuscate, shrink, and optimize application code.
ProGuard renames classes, fields, and methods with semantically obscure names, as well as removes unused code.
The embedded video below demonstrates how to create a hybrid and native MobileFirst Android application with ProGuard obfuscation enabled.
- Obfuscated vs non-obfuscated MobileFirst application example
- Create a MobileFirst Hybrid android app with ProGuard
- Create a MobileFirst Native android app with ProGuard
- Restore an obfuscated stacktrace
For more information, refer to the Obfuscating Android code with ProGuard user documentation topic.