Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A library that lets you use reflection without any restriction above Android P

License

Notifications You must be signed in to change notification settings

708940454/FreeReflection

Repository files navigation

FreeReflection

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

Usage

  1. Add dependency to your project(jcenter):
implementation 'me.weishu:free_reflection:2.2.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

About

A library that lets you use reflection without any restriction above Android P

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 51.5%
  • Java 37.1%
  • CMake 11.4%

AltStyle によって変換されたページ (->オリジナル) /