title: Phonegap 2.4 Android Proguard config
body: <p>I've upgraded a build from Phonegap (Cordova) 2.0 to 2.4 and everything was working fine in dev until I actually came to testing the final release apk. What I'm finding, after a lot of time wasted, is that for some reason now when I run the build my proguard config is breaking the phonegap build in some way that means that when it runs the deviceready is never called. There seem to be no errors when building, nor running and nothing as far as I can see but I'm guessing something is silently failing in the cordova js as i'm not getting compile / log errors on the device.</p>
  
  <p>As I say this is ONLY when having ran the Proguard obfs in the build process. If i turn off Proguard it all works fine. I reverted all my code back to 2.0 to be sure and that is all fine so somewhere along the way there has been a stuble change that is seemingly not documented / or nobody has hit just yet (2.4 only came out a few weeks ago - at time of writing 26th feb 2013).</p>
  
  <p>My Proguard config contains the following for phonegap (as well as some other standard config)</p>
  
  <pre><code>-keep public class * extends com.phonegap.api.Plugin
  -keep public class * extends org.apache.cordova.api.Plugin
  -keep public class org.apache.cordova.DroidGap
  -keep public class org.apache.cordova.**
  -keep public class org.apache.**
  -dontwarn android.webkit.*
  -dontwarn org.apache.**
  </code></pre>
  
  <p>and decompiling the dex doesn't seem to throw any light - everything looks ok at a glance...</p>
  
  <p>Anyone have any ideas???</p>