Here’s an odd one. I recently set the proguardLevel all setting to reduce the size of my IPA, which worked somewhat (down to 64 MB from 78 MB, the android APK is 25 MB). However, all my network calls stopped working. No errors or anything, just anything sent to com.badlogic.net.Net.sendHttpRequest never calls the listener. I traced it through the libgdx code, and it creates the HttpUrlConnection just fine, but the AsynchTask never gets called. Source for reference is here:
I assume there’s something I need to add to my proguard.append file, but I’m not sure what. Any insights?
-keep class com.android.org.bouncycastle.jcajce.provider.symmetric.PBEPBKDF2** { *; }
-keep class com.android.org.conscrypt.OpenSSLMessageDigestJDK** { *; }
We usually find the missing classes by debugging the app and looking for ClassNotFoundException-s with exception breakpoints. The exception message contains the name of the missing class.