mirror of
https://github.com/Finb/Bark.git
synced 2025-12-08 21:36:01 +00:00
Compare commits
4 Commits
89416757d9
...
bfed640e35
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bfed640e35 | ||
|
|
5d14d788f1 | ||
|
|
0aa9a2bc21 | ||
|
|
eef3525173 |
2
.github/workflows/testflight.yaml
vendored
2
.github/workflows/testflight.yaml
vendored
@ -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
|
||||
|
||||
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
12
docs/faq.md
12
docs/faq.md
@ -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>来解决。
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user