
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
cordova-plugin-proguard
Advanced tools
Cordova plugin which activates ProGuard and minification for debug and release builds in your cordova mobile application.
ProGuard is the open source optimizer for Java bytecode
You can read more about it on ProGuard official website and on android developer portal
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
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
If you want to add rules to this proguard-custom.txt
, please create your own proguard-custom.txt
and add this to your projectroot folder.
Upon installing the proguard-plugin, the rules will be added to your project.
Example rules for various situations will be in the commented section in the plugin proguard-custom.txt
.
ionic cordova platform rm android
ionic cordova platform add android
https://alfilatov.com/posts/how-to-setup-proguard-in-cordova-application/
MIT © Aleksandr Filatov
FAQs
Cordova plugin for ProGuard
The npm package cordova-plugin-proguard receives a total of 554 weekly downloads. As such, cordova-plugin-proguard popularity was classified as not popular.
We found that cordova-plugin-proguard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.