mirror of
https://github.com/Finb/Bark.git
synced 2026-04-26 06:25:55 +03:00
[GH-ISSUE #339] 通知太多 App 闪退 #297
Labels
No labels
bug
enhancement
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Bark#297
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wwwAngHua on GitHub (Jan 19, 2026).
Original GitHub issue: https://github.com/Finb/Bark/issues/339
由于通知消息太多,导致 barkApp 直接闪退,无法进入,只能删除重装,建议优化,按需加载,而非一次性完全加载。
@Finb commented on GitHub (Jan 19, 2026):
大概多少条通知消息?
是最近从1.5.8 更新到1.5.9么?
@wwwAngHua commented on GitHub (Jan 19, 2026):
大概上千条,具体未知,因为没有做消息分组,睡眠模式关闭后一直弹窗,然后尝试打开 App 消除弹窗,但直接闪退,后续也无法再次进入,这是最近下载的最新版本,含有历史消息
@Finb commented on GitHub (Jan 19, 2026):
千条应该不至于很多,APP测试过数十万条消息。
闪退是发生在最新版本1.5.9,还是历史某个版本?
@wwwAngHua commented on GitHub (Jan 19, 2026):
发生在 1.5.9 版本,但是我觉得应该没有数十万条消息
@Finb commented on GitHub (Jan 19, 2026):
你能帮忙在你设备上找下闪退日志吗?苹果后台的闪退报告没有发现新的闪退,无法确定是啥原因
位置在 系统设置 - 隐私与安全 - 分析与改进 - 分析数据 中找到以 Bark 开头的日志文件
@wwwAngHua commented on GitHub (Jan 19, 2026):
@Finb commented on GitHub (Jan 19, 2026):
你的 1.5.9 版本是什么时候更新的?是更新后第一次打开就卡住了么?
@Finb commented on GitHub (Jan 20, 2026):
从日志分析看,问题出在往数据库写入新通知时,一直在等待IO导致APP启动超时被系统杀死。
按理说一般不会等待这么长的时间,我能想到的优化是将原来串行多事务写入,改为一个事务下批量写入。 先暂时这样修复一下。