Compare commits

...

4 Commits

Author SHA1 Message Date
huiyifyj
bfed640e35 fix typo, trim space in URL structure example 2025-02-11 17:40:03 +08:00
Fin
5d14d788f1 调整打包脚本 2025-02-11 10:23:47 +08:00
chimpdev
0aa9a2bc21 添加 bark.js 链接到 README.md 2025-02-05 09:55:26 +08:00
Fin
eef3525173 更新文档 2025-02-05 09:52:41 +08:00
5 changed files with 8 additions and 13 deletions

View File

@ -23,7 +23,7 @@ jobs:
- name: Select Xcode Version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.1'
xcode-version: 'latest-stable'
- name: Setup ruby
uses: ruby/setup-ruby@v1

View File

@ -19,7 +19,7 @@ jobs:
- name: Select Xcode Version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.1'
xcode-version: 'latest-stable'
- name: Setup ruby
uses: ruby/setup-ruby@v1

View File

@ -22,7 +22,7 @@ You can send GET or POST requests, and you'll receive a push notification immedi
URL structure: The first part is the key, followed by three matches
/:key/:body
/:key/:title/:body
/:key/: title/:subtitle/:body
/:key/:title/:subtitle/:body
title: The push title, slightly larger than the body text
subtitle: The push subtitle
@ -88,6 +88,7 @@ Critical alerts will ignore silent and do not disturb modes, always playing the
- [Quicker Actions](https://getquicker.net/Sharedaction?code=e927d844-d212-4428-758d-08d69de12a3b)
- [Bark for Wox](https://github.com/Zeroto521/Wox.Plugin.Bark)
- [bark-jssdk](https://github.com/afeiship/bark-jssdk)
- [bark.js](https://github.com/chimpdev/bark.js)
- [java-bark-server](https://gitee.com/hotlcc/java-bark-server)
- [bark-java-sdk](https://github.com/MoshiCoCo/bark-java-sdk)
- [Python for Bark](https://github.com/funny-cat-happy/barknotificator)

View File

@ -1,12 +1,3 @@
#### 杭州移动无法访问 https://api.day.app
杭州移动运营商阻断了请求(通常可能会持续一段时间,几天或几周都有可能),可以自部署服务端或暂时替换下域名使用 <br>
https://api.day.app <br>
替换为 <br>
https://api.bbark.top <br>
这两个域名是同一台服务器通常只需简单的在发送端修改下域名即可key不用改 app 只是个接收端改不改无所谓。 <br>
也可以在 APP 内新增 https://api.bbark.top 服务器长期使用。
#### 无法收到推送
在 App 设置中检查 Device Token 是否正常。如果不正常,参考 [这里](#DeviceToken显示未知)<br/>
如果正常,可以重启下设备,如果还不能接收到推送,检查推送请求返回状态码是否为 code 200。<br/>
@ -27,6 +18,9 @@ https://api.bbark.top <br>
2. 如果将 Bark API URL 发送到聊天软件如微信文件传输助手,微信会不定时的请求 URL 触发推送。
3. 推送 Key 泄露,推荐在服务器列表页面重置 Key。
#### 提示服务器错误
偶尔提示一次可以忽略,可能是设备进入后台导致网络请求超时之类的原因导致的。<br>
#### 时效性通知无效
可以尝试<b>重启设备</b>来解决。

View File

@ -50,7 +50,7 @@ platform :ios do
upload_to_testflight
bark_key = ENV["BARK_KEY"]
%x( 'curl' 'https://api.day.app/#{bark_key}/Bark%20#{version}(#{build})%20has%20completed%20processing?group=Github%20Actions&url=https%3A%2F%2Fgithub.com%2FFinb%2FBark%2Factions%2Fruns%2F#{run_id}' )
%x( 'curl' 'https://api.day.app/#{bark_key}/Bark%20#{version}%20(#{build})%20has%20completed%20processing?group=Github%20Actions&url=https%3A%2F%2Fgithub.com%2FFinb%2FBark%2Factions%2Fruns%2F#{run_id}' )
end