Last active
July 18, 2018 10:13
-
-
Save munho/ca15927c02ea42ab5ccf to your computer and use it in GitHub Desktop.
proguard in cordova ionic android app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ionic | |
-keep class org.apache.cordova.** { *; } | |
-keep public class * extends org.apache.cordova.CordovaPlugin | |
-keep class com.ionic.keyboard.IonicKeyboard.** { *; } | |
-keepclassmembers class com.your.package.YourWebViewClass$JSInterfaceClass { | |
public *; | |
} | |
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt | |
http://www.tagwith.com/question_290772_how-to-use-proguard-in-cordova-android-app | |
https://github.com/dev-mobile/cordova-starter/blob/master/android_cordova_starter/HOWTO.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there, I have enabled proguard.config= (line 9) on platforms/android/project.properties but I can still decompile the apk with original code.
Any clues why proguard is not making its job ?