[Bug] MessagingStyle通知不生效
- Dominant language
- Java
- Stars
- 5.7k
- Forks
- 416
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 4
Description
### 复现步骤 / Steps to reproduce
接收消息
### 预期行为 / Expected behaviour
使用MessagingStyle的通知
### 实际行为 / Actual behaviour
QQ自带的通知渠道进行通知
### 你使用的Xposed框架 / Xposed Framework you used
API 版本 93 ONPatch 版本 0.0.7 (7) 框架版本 1.9.2 (7061)
### 你使用的安卓系统版本 / Your Android version
13
### QQ(TIM) 版本 / QQ(TIM) Version
9.2.35及以上版本均测试存在此问题
### 模块版本 / Module Version
1.6.0.r2905.b6a3cad
### 版本和其他要求 / Version and Other Requirements
- [ ] 我正在使用最新 CI 调试版本且启用详细日志 / I am using latest debug CI version of QAuxiliary and enable verbose log
- [x] 我使用的 QQ 是官方发布的正式版本,而非修改版或测试版 / The QQ I am using is an official release version, not a modified or beta version
- [x] 我已经在 [Issue Tracker](https://github.com/cinit/QAuxiliary/issues) 中找过我要提出的问题,没有找到相同问题。重复问题会被关闭。
- [x] 我已知晓并同意,此处仅用于汇报主程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。
- [x] 我已知晓并同意,如果我不按照模板提供的指示进行填写,则我的 Issue 可能会被无条件删除。
### 日志 / Logs
1.6.0.r2905.b6a3cad
QQ9.2.35(12500)
PID: 25162, UID: 10320
moe.zapic.hook.MessagingStyleNotification
isInitialized: true
isInitializationSuccessful: false
isEnabled: true
isAvailable: true
isPreparationRequired: false
errors: 1
java.lang.NoSuchMethodException: No method com.tencent.qqnt.notification.NotificationFacade.*[class java.lang.String, class android.app.Notification, int] found
at cc.ioctl.util.Reflex.findSingleMethod(Reflex.java:1131)
at moe.zapic.hook.MessagingStyleNotification.initOnce(MessagingStyleNotification.kt:104)
at io.github.qauxv.hook.BaseFunctionHook.initialize(BaseFunctionHook.kt:64)
at io.github.qauxv.core.InjectDelayableHooks.stepForMainBackgroundStartup(InjectDelayableHooks.java:249)
at io.github.qauxv.core.MainHook.performHook(MainHook.java:138)
at io.github.qauxv.poststartup.StartupRoutine.execPostStartupInit(StartupRoutine.java:79)
at io.github.qauxv.poststartup.StartupHook.execStartupInit(StartupHook.java:76)
at io.github.qauxv.poststartup.StartupHook$3.afterHookedMethod(StartupHook.java:220)
at io.github.qauxv.util.xpcompat.WrappedCallbacks$WrappedHookCallback.afterHookedMember(WrappedCallbacks.java:81)
at io.github.qauxv.loader.sbl.xp51.Xp51HookWrapper$Xp51HookCallback.afterHookedMethod(Xp51HookWrapper.java:145)
at de.robv.android.xposed.XposedBridge$LegacyApiSupport.handleAfter(XposedBridge.java:447)
at org.lsposed.lspd.impl.LSPosedBridge$NativeHooker.callback(LSPosedBridge.java:192)
at LSPHooker_.run(Unknown Source:11)
at com.tencent.qqnt.startup.NtStartupDispatcher.c(Unknown Source:23)
at com.tencent.qqnt.startup.NtStartupDispatcher.a(Unknown Source:0)
at com.tencent.qqnt.startup.NtStartupDispatcher$dispatcher$2.invoke(P:2)
at com.tencent.qqnt.startup.NtStartupDispatcher$dispatcher$2.invoke(P:1)
at com.tencent.qqnt.startup.b.run(Unknown Source:8)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
at com.tencent.thread.monitor.plugin.proxy.BaseThread.run(Unknown Source:15)
### 补充说明(可选) / Additional information (optional)
_No response_
Contributor guide
Research direction
Start at moe/zapic/hook/MessagingStyleNotification.kt:104 and inspect the reflective lookup that fails for QQ 9.2.35 and later. Compare the available NotificationFacade method signature with the expected String, Notification, int shape, then verify initialization succeeds and MessagingStyle notifications appear on Android 13. Use the logged QQ and module versions as regression cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100