1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

fix(browser): restore timer based background syncs (#14031)

* docs: fix a typo

* fix(browser): restore timer-based background syncs

The browser extension was not performing scheduled background syncs every 30 minutes as expected. This was due to missing task scheduling code that was accidentally removed during the web push implementation (PR #11346).

This commit:
- Creates a new BackgroundSyncService to manage sync scheduling
- Properly initializes the sync interval in main.background.ts
- Adds a test to ensure the sync initialization code isn't accidentally removed again
- Organizes platform module structure to support the new service

Fixes PM-19396

* review: remove unecassary await keyword
This commit is contained in:
Addison Beck
2025-03-28 14:17:18 -04:00
committed by GitHub
parent d5f033efa2
commit f759e62aeb
10 changed files with 178 additions and 6 deletions

View File

@@ -1 +1,2 @@
export * from "./services/browser-service";
export * from "./background-sync";