rovo89 / XposedBridge

The Java part of the Xposed framework.
3.86k stars 1.1k forks source link

Hook constructor with unknown number and type of parameters #289

Closed ElJaviLuki closed 2 years ago

ElJaviLuki commented 2 years ago

Is it possible to hook a class constructor without knowing its parameters? I want to hook a class from a library. The constructor's parameters vary from version to version of that library and maybe there's a shortcut for that.

Thanks!

ElJaviLuki commented 2 years ago

Solved: Use XposedBridge utils instead of XposedHelpers.