mirror of
https://github.com/kdrag0n/safetynet-fix.git
synced 2026-07-18 08:05:50 +02:00
b0416cd3aa
R8 minification is essential for this, because otherwise the Kotlin standard library is too big and results in the app compiling to multiple dex files. It's not impossible to load multiple dex buffers, but let's keep it simple here.
30 lines
932 B
Prolog
30 lines
932 B
Prolog
# Add project specific ProGuard rules here.
|
|
# You can control the set of applied configuration files using the
|
|
# proguardFiles setting in build.gradle.
|
|
#
|
|
# For more details, see
|
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
|
# If your project uses WebView with JS, uncomment the following
|
|
# and specify the fully qualified class name to the JavaScript interface
|
|
# class:
|
|
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
# public *;
|
|
#}
|
|
|
|
# Uncomment this to preserve the line number information for
|
|
# debugging stack traces.
|
|
#-keepattributes SourceFile,LineNumberTable
|
|
|
|
# If you keep the line number information, uncomment this to
|
|
# hide the original source file name.
|
|
#-renamesourcefileattribute SourceFile
|
|
|
|
-keep class dev.kdrag0n.safetynetriru.EntryPoint {
|
|
public static void init();
|
|
}
|
|
|
|
-keepclassmembers class dev.kdrag0n.safetynetriru.ProxyKeyStoreSpi {
|
|
public <init>(...);
|
|
}
|