You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2015/04/07 21:51:12 UTC

[jira] [Created] (CB-8810) Enable proguard for Android Apps

Andrew Grieve created CB-8810:
---------------------------------

             Summary: Enable proguard for Android Apps
                 Key: CB-8810
                 URL: https://issues.apache.org/jira/browse/CB-8810
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
            Reporter: Andrew Grieve
            Priority: Minor


Proguard effectively does "tree shaking" to remove dead code. It's easy to enable from gradle, and there's a good example here:
http://proguard.sourceforge.net/manual/examples.html#androidactivity

of how to tell it to keep all CordovaPlugin subclasses.

Likely want to also include "-dontobfuscate" so that user-reported stack traces don't need to be de-obfuscated. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org