mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-18 16:53:16 +00:00
Enable ProGuard and add rules
This commit is contained in:
@ -95,7 +95,7 @@ def enableSeparateBuildPerCPUArchitecture = true
|
|||||||
/**
|
/**
|
||||||
* Run Proguard to shrink the Java bytecode in release builds.
|
* Run Proguard to shrink the Java bytecode in release builds.
|
||||||
*/
|
*/
|
||||||
def enableProguardInReleaseBuilds = false
|
def enableProguardInReleaseBuilds = true
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The preferred build flavor of JavaScriptCore.
|
* 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
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||||
|
|
||||||
# Add any project specific keep options here:
|
# 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 { *; }
|
Reference in New Issue
Block a user