0

Is it really possible to use ProGuard in Hybrid Application I am using Cordova version to build an android app where I have to obfuscate the plugin's java code.

Till now I have done this

Added

release {
    minifyEnabled true
    proguardFiles getDefaultProguardFile('proguard-android.txt'),
                    'proguard-rules.pro'
}

Inside build.gradle of project's root folder.

And uncomment the proguard line from project.properties

proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

But nothing is obfuscating from the code when I decompile the APK.

Alex Filatov
  • 2,232
  • 3
  • 32
  • 39
Vishvendu Palawat
  • 566
  • 10
  • 29

0 Answers0