I am new in Ionic and don't know much about core plugins and facilities it provides. I have heard about Proguard that it can help to build secure android applications. So my question is, Is it possible to make Ionic app more secure by using Proguard?
ProGuard is a tool to help minify, obfuscate, and optimize your code. It is not only especially useful for reducing the overall size of your Android application as well as removing unused classes and methods that contribute towards the intrinsic 64k method limit of Android applications.
Proguard is basically integrated into the Android Build System. And it runs only when the build of your application is in the release mode. You can choose to use Android Proguard as it is not compulsory but is highly recommended.
You can manually create the file in the \StudioProjects\your_project\app folder and you can add the custom rules.
Proguard is used to shrinks, optimizes and obfuscates Java code.
You can use proguard in ionic only for android platform as ios don't use Java as native code.
You can use following plugin to use proguard in ionic android -
https://github.com/greybax/cordova-plugin-proguard
https://www.npmjs.com/package/cordova-plugin-proguard
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With