Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 977 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 977 Bytes

cordova-plugin-proguard

[![NPM version][npm-image]][npm-url]

Cordova plugin which activates ProGuard and minification for debug and release builds in your cordova mobile application.

What is ProGuard?

ProGuard is the open source optimizer for Java bytecode

You can read more about it on ProGuard official website and on android developer portal

How to use

  • If you already have installed Android Studio then seems you already have installed ProGuard on your machine. If no, then you should download and install it manually from ProGuard official website.
  • cordova plugin add cordova-plugin-proguard - this command will configure your build.gradle file and copy proguard-custom.txt to ${androidPlatformDirectory}/assets/www/proguard-custom.txt