You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
I raised an issue #74
this issue was resolved by adding following lines in progaurd-rules.pro
-dontoptimize -dontobfuscate -keepattributes SourceFile,LineNumberTable -keep class org.whispersystems.** { *; } -keep class org.thoughtcrime.securesms.** { *; } -keepclassmembers class ** { public void onEvent*(**); }
after adding above line of code, my whole app code is not obfuscated now because of just these two lines -dontoptimize -dontobfuscate.
If i remove these two instructions my app crashes during serialization of signal protocol classes.
I tried adding rules for signal in seperate file proguard.cfg, as you can see above. but no lock :(
kindly let me know how to obfuscate my app.
The text was updated successfully, but these errors were encountered:
malik082009
changed the title
my code is not obfuscated due to -dontoptimize and -dontobfuscate rules in progaurd-rules.pro
my app is not obfuscated due to -dontoptimize and -dontobfuscate rules in progaurd-rules.pro
Nov 30, 2020
I raised an issue #74
this issue was resolved by adding following lines in
progaurd-rules.pro
-dontoptimize -dontobfuscate -keepattributes SourceFile,LineNumberTable -keep class org.whispersystems.** { *; } -keep class org.thoughtcrime.securesms.** { *; } -keepclassmembers class ** { public void onEvent*(**); }
after adding above line of code, my whole app code is not obfuscated now because of just these two lines
-dontoptimize -dontobfuscate
.If i remove these two instructions my app crashes during serialization of signal protocol classes.
my configuration in
build.gradle
filerelease { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile( 'proguard-android-optimize.txt'), 'proguard-rules.pro', 'proguard.cfg' useProguard true debuggable false } debug { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile( 'proguard-android-optimize.txt'), 'proguard-rules.pro', 'proguard.cfg' useProguard true debuggable false }
I tried adding rules for signal in seperate file
proguard.cfg
, as you can see above. but no lock :(kindly let me know how to obfuscate my app.
The text was updated successfully, but these errors were encountered: