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:55:12 UTC
[jira] [Commented] (CB-8810) Enable proguard for Android Apps
[ https://issues.apache.org/jira/browse/CB-8810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14483919#comment-14483919 ]
Andrew Grieve commented on CB-8810:
-----------------------------------
Note: just filed this as an idea. I don't intend to implement in the near term.
> 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