Skip to content
A library that lets you use reflection without any restriction above Android P
Branch: master
Clone or download
Latest commit 4b84ff1 Apr 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
app Feat: Add a new way to bypass hidden API check. Mar 16, 2019
gradle/wrapper
library Refactor: minor fix. Mar 16, 2019
.gitignore init Jun 7, 2018
LICENSE
README.md
build.gradle Build: downgrade gradle for the annoying tips of AS Mar 16, 2019
gradle.properties
gradlew init Jun 7, 2018
gradlew.bat
settings.gradle

README.md

FreeReflection

FreeReflection is a library that lets you use reflection without any restriction above Android P.

Usage

  1. Add dependency to your project(jcenter):
implementation 'me.weishu:free_reflection:2.0.0'
  1. Add one line to your Application.attachBaseContext :
@Override
protected void attachBaseContext(Context base) {
    super.attachBaseContext(base);
    Reflection.unseal(base);
}

Then you can use the reflection API normally, all the restrictions are gone. Enjoy yourself :)

Under the hood

Donations

If you like this project, buy me a cup of coffee! :)

BitCoin: 39Wst8oL74pRP2vKPkPihH6RFQF4hWoBqU

License

MIT License

You can’t perform that action at this time.