Skip to content

why handleLoadPackage method is not called appComponentFactory? #7

@undifend

Description

@undifend

Issue: When the target app uses appComponentFactory (such as androidx.core.app.CoreComponentFactory), the Xposed module's handleLoadPackage() callback is invoked too late, making it impossible to hook methods in the appComponentFactory class.

Reproduction: Create an Xposed module targeting an app that uses appComponentFactory and launch the app.
Expected: handleLoadPackage() should be called before app components are loaded, allowing all methods to be hooked.
Actual: handleLoadPackage() is called after the appComponentFactory class is loaded, preventing hooks on that class's methods.
Environment: LSPosed v1.10.2, Magisk 29, Zygisk-LSPosed

help me, thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions