Using ProGuard in Hybrid and Native Android applications
Yahav Winkler May 01, 2016MobileFirst_Platform Hybrid Native ProGuard
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.
Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on May 01, 2016