feat: implement Live Activity registration service and enhance notifications handling

This commit is contained in:
2026-05-24 23:53:40 +07:00
parent d991d06f17
commit 802d32e9a0
13 changed files with 379 additions and 154 deletions
+2
View File
@@ -83,6 +83,7 @@ final class AuthViewModel {
// Clear anyway
keychain.clearTokens()
}
LiveActivityRegistrationService.shared.stop()
isAuthenticated = false
currentUser = nil
}
@@ -92,5 +93,6 @@ final class AuthViewModel {
if granted {
PushNotificationService.shared.registerForRemoteNotifications()
}
LiveActivityRegistrationService.shared.start()
}
}