mirror of
https://github.com/Finb/bark-server.git
synced 2026-04-27 06:35:49 +03:00
[GH-ISSUE #17] 通过自己用java实现的服务端推送,客户端没有保存通知 #12
Labels
No labels
enhancement
in progress
need test
pull-request
v2
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bark-server#12
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 @5kywa1ker on GitHub (Jun 18, 2020).
Original GitHub issue: https://github.com/Finb/bark-server/issues/17
增加isArchive=1参数 也不能保存,但是通过本项目的服务端推送,就能保存,
请问这是什么原因?
@Finb commented on GitHub (Jun 18, 2020):
可能缺少了 "mutable-content":1,
在我的实现里是这行代码
github.com/Finb/bark-server@19fe79ae42/server.go (L229)这个字段的一个作用是推送到达设备时,会先执行推送扩展里的代码再显示推送
保存推送的代码是在这个时候执行的
@5kywa1ker commented on GitHub (Jun 18, 2020):
感谢老哥! 已解决。