A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix background sync
Ammar Ahmed59276de406bb
diff --git a/apps/mobile/app/services/background-sync.ts b/apps/mobile/app/services/background-sync.tsindex 5da6a277a..a5ad8e2a0 100644--- a/apps/mobile/app/services/background-sync.ts+++ b/apps/mobile/app/services/background-sync.ts@@ -114,7 +114,10 @@ async function onBackgroundSyncStarted() {}const user = await db.user?.getUser();if (user) {- await db.sync(true, false);+ await db.sync({+ type: "full",+ force: false+ });}await Notifications.setupReminders();DatabaseLogger.info("BACKGROUND SYNC COMPLETE");