tiann / FreeReflection

A library that lets you use reflection without any restriction above Android P
MIT License
2.88k stars 532 forks source link

Android 11 will prevent meta reflection #23

Closed zhanghai closed 3 years ago

zhanghai commented 4 years ago

Apps targeting Android 11 can no longer use an extra layer of reflection to access non-SDK interfaces that are restricted.

See https://developer.android.com/preview/test-changes#prevent_meta_reflection_blacklist_access.

tiann commented 4 years ago

I will publish a new way to bypass it after Android 11 released.

zhanghai commented 4 years ago

Just curious, will the new way be Java-only or require native code?

tiann commented 4 years ago

It depends

MikeoPerfect commented 4 years ago

It depends

six,eat gua

s13524801 commented 4 years ago

Android 11

https://github.com/ChickenHook/RestrictionBypass

tiann commented 3 years ago

https://github.com/tiann/FreeReflection/commit/f1a175e231bd50866e8521772b264ec58f287336

zhangjg0201 commented 2 years ago

It depends

six,eat gua

wo cao, six six six

zhangjg0201 commented 2 years ago

Android 11

https://github.com/ChickenHook/RestrictionBypass

I find this way too. But now it has been published to github, and google is forbidding it.