lycwed-cordova-plugin-proguard

1.0.25 • Public • Published

lycwed-cordova-plugin-proguard

NPM version

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 lycwed-cordova-plugin-proguard - this command will configure your build.gradle file and copy proguard-custom.txt to ${androidPlatformDirectory}/assets/www/proguard-custom.txt

Customization

proguard-custom.txt file contains some basic rules for your cordova mobile app. Feel free to fork this repo and modify it as you want.

You can also to check out some Android ProGuard snippets

License

MIT © Aleksandr Filatov

Package Sidebar

Install

npm i lycwed-cordova-plugin-proguard

Weekly Downloads

18

Version

1.0.25

License

MIT

Unpacked Size

18.5 kB

Total Files

7

Last publish

Collaborators

  • lycwed