{"id":15040981,"url":"https://github.com/greybax/cordova-plugin-proguard","last_synced_at":"2025-04-04T14:07:53.656Z","repository":{"id":47873174,"uuid":"92885231","full_name":"greybax/cordova-plugin-proguard","owner":"greybax","description":":white_square_button: Cordova Plugin for ProGuard","archived":false,"fork":false,"pushed_at":"2023-04-27T17:25:09.000Z","size":52,"stargazers_count":51,"open_issues_count":3,"forks_count":258,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T07:41:23.011Z","etag":null,"topics":["android","android-development","androidutils","apk-size","bytecode","cordova","cordova-android","cordova-android-plugin","cordova-plugin","gradle","gradle-plugin","hybrid-apps","java","minifier","obfuscator","optimization-tools","optimizer","proguard","proguard-rules","shrink"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/greybax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-30T23:35:33.000Z","updated_at":"2024-06-18T17:06:44.766Z","dependencies_parsed_at":"2024-06-18T17:06:42.866Z","dependency_job_id":"81d194e9-b968-49b8-8619-ae094a9d228f","html_url":"https://github.com/greybax/cordova-plugin-proguard","commit_stats":{"total_commits":35,"total_committers":10,"mean_commits":3.5,"dds":0.6857142857142857,"last_synced_commit":"390284df8f2d26148f2ecacf1e11ce8353bae68c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greybax%2Fcordova-plugin-proguard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greybax%2Fcordova-plugin-proguard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greybax%2Fcordova-plugin-proguard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greybax%2Fcordova-plugin-proguard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greybax","download_url":"https://codeload.github.com/greybax/cordova-plugin-proguard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190250,"owners_count":20898702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-development","androidutils","apk-size","bytecode","cordova","cordova-android","cordova-android-plugin","cordova-plugin","gradle","gradle-plugin","hybrid-apps","java","minifier","obfuscator","optimization-tools","optimizer","proguard","proguard-rules","shrink"],"created_at":"2024-09-24T20:45:21.838Z","updated_at":"2025-04-04T14:07:53.631Z","avatar_url":"https://github.com/greybax.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cordova-plugin-proguard\n\n[![NPM version][npm-image]][npm-url]\n[![npm](https://img.shields.io/npm/dm/cordova-plugin-proguard.svg)](https://www.npmjs.com/package/cordova-plugin-proguard)\n\n\u003e Cordova plugin which activates ProGuard and minification for debug and release builds in your cordova mobile application.\n\n## What is ProGuard?\n\n\u003e ProGuard is the open source optimizer for Java bytecode\n\nYou can read more about it on [ProGuard official website](https://www.guardsquare.com/en/proguard) and on [android developer portal](https://developer.android.com/studio/build/shrink-code.html)\n\n## How to use\n\n- If you already have installed [Android Studio](https://developer.android.com/studio/index.html) then seems you already have installed ProGuard on your machine. If no, then  you should download and install it manually from [ProGuard official website](https://www.guardsquare.com/en/proguard).\n- ```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`\n\n## Customization\n\n`proguard-custom.txt` file contains some basic rules for your cordova mobile app. Feel free to [fork this repo](https://github.com/greybax/cordova-plugin-proguard/fork) and modify it as you want. \n\nYou can also to check out some [Android ProGuard snippets](https://github.com/krschultz/android-proguard-snippets)\n\nIf you want to add rules to this `proguard-custom.txt`, please create your own `proguard-custom.txt` and add this to your projectroot folder. \nUpon installing the proguard-plugin, the rules will be added to your project.\nExample rules for various situations will be in the commented section in the plugin `proguard-custom.txt`.\n\n```\nionic cordova platform rm android\nionic cordova platform add android\n```\n\n## History\n - v1.0.0 - supports Cordova version \u003c7\n - v2.0.0 - supports Cordova version 7+ (thanks to @SujitSingh)\n\n## Why I've done this plugin?\n\nhttps://alfilatov.com/posts/how-to-setup-proguard-in-cordova-application/\n\n## License\n\nMIT © [Aleksandr Filatov](https://alfilatov.com)\n\n[npm-url]: https://npmjs.org/package/cordova-plugin-proguard\n[npm-image]: https://img.shields.io/npm/v/cordova-plugin-proguard.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreybax%2Fcordova-plugin-proguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreybax%2Fcordova-plugin-proguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreybax%2Fcordova-plugin-proguard/lists"}