Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: What is ProGuard and when do i need to use it?

I've built a news app that gets its contents from the news website using JSON, the app has GCM service (Push Notifications) so i have declared my SENDER-ID in the MainActivity and there is no user accounts. I think the only sensitive info here is the SENDER-ID.

So what exactly is ProGuard ? and do i need to use it in my app ?

(NOTE: I have read the documentations about ProGuard but i didn't quite understand when to use it).

like image 726
Fadi Obaji Avatar asked Oct 16 '25 18:10

Fadi Obaji


1 Answers

A tool which reduces size of your apk, optimze your code and obfuscates(makes code unclear, so that someone who has your APK can not easily decompile your APK and read the content of your code.

It's not a must to use ProGuard, but it surely helps you, there are several Pros to using it, and all you need to enable it is just to uncomment a single line and you are all set to go.

This is one good article on it

like image 167
Yauraw Gadav Avatar answered Oct 18 '25 09:10

Yauraw Gadav



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!