-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supports setting keep-alive notification text on Android #13815
Comments
88250
added a commit
that referenced
this issue
Jan 14, 2025
88250
added a commit
to siyuan-note/siyuan-android
that referenced
this issue
Jan 14, 2025
本来以为会在设置里加一个输入框的,没想到这么硬核 |
之后会支持插件推送安卓端的通知吗? |
请单独提 issue 讨论,包括场景和接口设计
…---Original---
From: ***@***.***>
Date: Fri, Jan 17, 2025 13:38 PM
To: ***@***.***>;
Cc: ***@***.***>;"State ***@***.***>;
Subject: Re: [siyuan-note/siyuan] Supports setting keep-alive notificationtext on Android (Issue #13815)
之后会支持插件推送安卓端的通知吗?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
android-notification-texts.txt 会被当成未引用的资源文件清理掉 |
不对,是 工作空间/assets/ 还是 工作空间/data/assets/ ? |
data/assets 这两个问题稍后改进。 |
88250
added a commit
that referenced
this issue
Jan 17, 2025
88250
added a commit
that referenced
this issue
Jan 17, 2025
EightDoor
added a commit
to EightDoor/siyuan
that referenced
this issue
Jan 22, 2025
* commit '2ee69394da22d5cdbd30ae46b36f0bb4c8e15de4': (101 commits) 🔖 Release v3.1.20 🎨 PNPM Lint 📝 Update changelogs 📝 Improve the user guide 📝 Improve User Guide (siyuan-note#13825) 🎨 siyuan-note#13793 🎨 Improve workspace path checking siyuan-note#7569 🎨 siyuan-note#13677 🎨 siyuan-note#13801 🎨 siyuan-note#13796 🎨 siyuan-note#13735 🎨 siyuan-note#13704 🎨 Supports setting keep-alive notification text on Android siyuan-note#13815 🎨 Improve the user guide 🎨 siyuan-note#13704 🎨 Backlink count at the doc block title including sub-blocks siyuan-note#13791 🎨 Improve tree block stat siyuan-note#13811 🎨 Improve text 🎨 Backlink count at the doc block title including sub-blocks siyuan-note#13791 🎨 siyuan-note#13791 ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://liuyun.io/article/1736809674707
Custom notifications on Android
In order to keep the background running as much as possible, SiYuan will send notifications regularly. The default notification content is some lyrics that the development team likes.
If you need to customize it, please follow the steps below:
android-notification-texts.txt
in the desktopworkspace/data/assets/
folder, where each line will be used as the text of the notificationAfter completing these two steps, the notification will use the customized text.
Android 端自定义通知
为了尽量保活后台运行,思源会定时发送通知,默认的通知内容是一些开发团队喜欢的歌词。
如果需要自定义它,请按如下步骤操作:
工作空间/data/assets/
文件夹下创建一个名为android-notification-texts.txt
的文本文件,其中每一行会作为通知的文本完成这两个步骤以后通知就会使用自定义的文本。
The text was updated successfully, but these errors were encountered: