cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8810) Enable proguard for Android Apps
Date Tue, 07 Apr 2015 19:55:12 GMT

    [ 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


Mime
View raw message