mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 10:56:24 +00:00
Enable ProGuard and add rules
This commit is contained in:
parent
c0bbd18ceb
commit
d61b366ab1
@ -95,7 +95,7 @@ def enableSeparateBuildPerCPUArchitecture = true
|
||||
/**
|
||||
* Run Proguard to shrink the Java bytecode in release builds.
|
||||
*/
|
||||
def enableProguardInReleaseBuilds = false
|
||||
def enableProguardInReleaseBuilds = true
|
||||
|
||||
/**
|
||||
* The preferred build flavor of JavaScriptCore.
|
||||
|
5
mobile/android/app/proguard-rules.pro
vendored
5
mobile/android/app/proguard-rules.pro
vendored
@ -8,3 +8,8 @@
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# Keep some of the react-native-tor classes
|
||||
-keep class com.sifir.tor.TorServiceParam { *; }
|
||||
-keep class com.sifir.tor.TcpSocksStream { *; }
|
||||
-keep class com.sifir.tor.OwnedTorService { *; }
|
Loading…
Reference in New Issue
Block a user