Tracing Fragments

  • Same as Tracing Activities just change the package name to use

Java.perform(() => {
    let fragmentclass = Java.use("androidx.fragment.app.Fragment");
    fragmentclass.onResume.implementation = function(){
        console.log("Fragment resumed: " + this.getClass().getName());
        this.onResume();
    }
})

Last updated

Was this helpful?