Compare commits

..

No commits in common. "204bed637f83e38568dba013fd4124a1f5133e31" and "3b064defcfd3f2d206e53763bd41d26afc5cc62b" have entirely different histories.

4 changed files with 2 additions and 4 deletions

View File

@ -59,7 +59,7 @@ class Client: NSObject {
func registerForRemoteNotifications() {
let center = UNUserNotificationCenter.current()
center.requestAuthorization(options: [.alert, .sound, .badge, .criticalAlert, .provisional], completionHandler: { (_ granted: Bool, _: Error?) in
center.requestAuthorization(options: [.alert, .sound, .badge, .criticalAlert], completionHandler: { (_ granted: Bool, _: Error?) in
if granted {
dispatch_sync_safely_main_queue {
UIApplication.shared.registerForRemoteNotifications()

View File

@ -87,7 +87,7 @@ class HomeViewController: BaseViewController<HomeViewModel> {
let startRequestAuthorization: () -> Observable<Bool> = {
Single<Bool>.create { single -> Disposable in
let center = UNUserNotificationCenter.current()
center.requestAuthorization(options: [.alert, .sound, .badge, .criticalAlert, .provisional], completionHandler: { (_ granted: Bool, _: Error?) in
center.requestAuthorization(options: [.alert, .sound, .badge, .criticalAlert], completionHandler: { (_ granted: Bool, _: Error?) in
single(.success(granted))
})
return Disposables.create()

View File

@ -3,7 +3,6 @@
```
docker run -dt --name bark -p 8080:8080 -v `pwd`/bark-data:/data finab/bark-server
```
*镜像也可使用 ghcr.io/finb/bark-server*
## Docker-Compose
```

View File

@ -3,7 +3,6 @@
```
docker run -dt --name bark -p 8080:8080 -v `pwd`/bark-data:/data finab/bark-server
```
*You can also use the image ghcr.io/finb/bark-server*
## Docker-Compose
```