diff --git a/README.md b/README.md index 88d5fe2..fe6fb5d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Android API restriction bypass for all Android Versions Small library to access hidden API restricted by https://developer.android.com/distribute/best-practices/develop/restrictions-non-sdk-interfaces -More technical details can be found: https://wordpress.com/stats/day/androidreverse.wordpress.com?tab=visitors +More technical details can be found: https://androidreverse.org/2023/02/21/android-api-restriction-bypass-for-all-android-versions/ ## Supported Android Versions @@ -46,6 +46,8 @@ The BypassProvider will automatically unseal your process and allow you to acces Please create a bug report if you find any issues. This chapter will be updated then. +## R8 / Proguard +The specific rules are [already bundled](restrictionbypass/consumer-rules.pro) into the aar which can be interpreted by R8 automatically. ## Donate diff --git a/restrictionbypass/consumer-rules.pro b/restrictionbypass/consumer-rules.pro index e69de29..bc52108 100644 --- a/restrictionbypass/consumer-rules.pro +++ b/restrictionbypass/consumer-rules.pro @@ -0,0 +1,2 @@ +# Don't touch the restrictionbypass code +-keep class org.chickenhook.restrictionbypass.** { *; } \ No newline at end of file diff --git a/restrictionbypass/proguard-rules.pro b/restrictionbypass/proguard-rules.pro deleted file mode 100644 index f1b4245..0000000 --- a/restrictionbypass/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# 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