Skip to content

feat!: migrate to libxposed API 101#18

Merged
hxreborn merged 3 commits intomainfrom
feat/libxposed-api-101
Mar 18, 2026
Merged

feat!: migrate to libxposed API 101#18
hxreborn merged 3 commits intomainfrom
feat/libxposed-api-101

Conversation

@hxreborn
Copy link
Copy Markdown
Owner

Migrates from libxposed API 100 to 101. API 100 will no longer be supported once 101 is officially released. An LSPosed Manager with API 101 support may not be publicly available yet.

hxreborn added 3 commits March 7, 2026 12:11
Signed-off-by: hxreborn <hxreborn@duck.com>
Signed-off-by: hxreborn <hxreborn@duck.com>
- Replace annotation-driven hooks (@XposedHooker, @BeforeInvocation, @AfterInvocation) with interceptor chain API (hook(method).intercept { chain -> })
- No-arg XposedModule constructor, onModuleLoaded() for init, onPackageReady() for hooks
- Inline DirectShare and QuickShare hooks into CleanShareModule, convert CheckboxHook/DeletionHook to internal objects
- Update logging to API 101 signature (priority, tag, message)
- Upgrade Gradle 8.14.2 -> 9.3.1, AGP 8.11.0 -> 9.1.0, Kotlin 2.1.21 -> 2.3.10
- Remove org.jetbrains.kotlin.android plugin (AGP 9 built-in Kotlin)
- Replace ktlint gradle plugin with JavaExec task (AGP 9 source set discovery workaround)
- Remove git submodules, resolve libxposed 101.0.0 from MavenCentral
- Remove buildLibxposed tasks and mavenLocal repository block
- Update ProGuard rules for API 101 (no-arg constructor, onPackageReady, hook package keep)
- Fix aboutlibraries crash from AGP 9 resource name obfuscation (keep.xml + copyAboutLibraries task)
- Bump aboutlibraries plugin 11.6.3 -> 12.1.2 to match runtime libraries
- Fix Kotlin 2.3.10 reified type intersection error in SettingsViewModel
- Remove deprecated android.nonFinalResIds=false
- Remove submodule steps from CI workflows
- Bump version to 3.0.0

BREAKING CHANGE: requires LSPosed Manager 2.0.0+

Signed-off-by: hxreborn <hxreborn@duck.com>
@hxreborn hxreborn merged commit 8e3296b into main Mar 18, 2026
1 check passed
@hxreborn hxreborn deleted the feat/libxposed-api-101 branch March 18, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant