Skip to content

Commit

Permalink
♻️ Update push verifier to publish status changes to backend
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaatttt committed May 6, 2024
1 parent 927d578 commit b96cc02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ internal class PushVerifier {
private func requestPush() {
let options: UNAuthorizationOptions = [.alert, .sound, .badge]
UNUserNotificationCenter.current().requestAuthorization(options: options) { _, _ in
self.pushMonitor.refreshPushStatus(publishChange: false) { _ in
self.pushMonitor.refreshPushStatus(publishChange: true) { _ in
DispatchQueue.main.async {
self.verifyPush()
}
Expand Down

0 comments on commit b96cc02

Please sign in to comment.