You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2015/11/16 23:35:11 UTC

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

     [ https://issues.apache.org/jira/browse/CB-8810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-8810.
----------------------------
    Resolution: Duplicate

There's a better issue for this already assigned to me.  We should enable proguard.

> 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