랭킹으로 돌아가기
tiann/FreeReflection
C++A library that lets you use reflection without any restriction above Android P
androidreflectionhook
주요 지표
스타 성장
스타
3.2k
포크
565
주간 성장
—
이슈
5
1k2k3k
2018년 6월2019년 10월2021년 2월2022년 6월2023년 11월2025년 3월2026년 7월
README
FreeReflection
FreeReflection is a library that lets you use reflection without any restriction above Android P (includes Q and R).
Usage
- Add it in your root build.gradle at the end of repositories(jitpack):
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add dependency to your project(jcenter):
implementation 'com.github.tiann:FreeReflection:3.1.0'
- 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
관련 저장소