[GH-ISSUE #336] 关于游戏模式 #296

Closed
opened 2026-03-03 11:42:17 +03:00 by kerem · 4 comments
Owner

Originally created by @hanazonoyurine on GitHub (Jan 6, 2026).
Original GitHub issue: https://github.com/Finb/Bark/issues/336

iOS在打开游戏时默认会启动游戏模式,这好像会屏蔽掉通知中的一些参数,导致设置为passive的通知也会弹窗

这个有没有什么解决办法呢,还是说只能自己手动关闭游戏模式

Originally created by @hanazonoyurine on GitHub (Jan 6, 2026). Original GitHub issue: https://github.com/Finb/Bark/issues/336 iOS在打开游戏时默认会启动游戏模式,这好像会屏蔽掉通知中的一些参数,导致设置为passive的通知也会弹窗 这个有没有什么解决办法呢,还是说只能自己手动关闭游戏模式
kerem closed this issue 2026-03-03 11:42:17 +03:00
Author
Owner

@Finb commented on GitHub (Jan 6, 2026):

iOS26 不能复现,你试试重启下手机看看

<!-- gh-comment-id:3713690142 --> @Finb commented on GitHub (Jan 6, 2026): iOS26 不能复现,你试试重启下手机看看
Author
Owner

@hanazonoyurine commented on GitHub (Jan 6, 2026):

iOS26 不能复现,你试试重启下手机看看

我测试了一下,要带了icon参数才能复现
https://api.day.app/key/?level=passive&icon=https://bark.day.app/_media/Icon.png
先打开任意一个游戏进入游戏模式,然后发送推送,然后会在30s后出现弹窗
补充:我还是iOS18

<!-- gh-comment-id:3713850436 --> @hanazonoyurine commented on GitHub (Jan 6, 2026): > iOS26 不能复现,你试试重启下手机看看 我测试了一下,要带了icon参数才能复现 https://api.day.app/key/?level=passive&icon=https://bark.day.app/_media/Icon.png 先打开任意一个游戏进入游戏模式,然后发送推送,然后会在30s后出现弹窗 补充:我还是iOS18
Author
Owner

@Finb commented on GitHub (Jan 6, 2026):

看了下文档,游戏模式下会限制其他后台任务的网络请求,所以icon不能加载。

但 passive 不生效确实是一个bug,之后会修复下,不过就算修复了,也不会显示icon。

<!-- gh-comment-id:3713921352 --> @Finb commented on GitHub (Jan 6, 2026): 看了下文档,游戏模式下会限制其他后台任务的网络请求,所以icon不能加载。 但 passive 不生效确实是一个bug,之后会修复下,不过就算修复了,也不会显示icon。
Author
Owner

@hanazonoyurine commented on GitHub (Jan 6, 2026):

但是带image好像就没问题

<!-- gh-comment-id:3713987264 --> @hanazonoyurine commented on GitHub (Jan 6, 2026): 但是带image好像就没问题
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Bark#296
No description provided.