Go to file
Marc Rejohn Castillano 758869920c Fix push notifications never delivered — 3 root causes
1. CRITICAL: Double idempotency check silently discarded every notification.
   process_scheduled_notifications called try_mark_notification_pushed first,
   then send_fcm called it again and saw "already pushed" → skipped FCM send.
   Fix: Remove the check from process_scheduled_notifications; send_fcm's
   own check is sufficient (and needed for direct Flutter client calls).

2. SEND_FCM_URL env var crash: If not configured, edge function crashed on
   module load. Fix: Derive from SUPABASE_URL (always auto-set) as fallback.

3. Timing windows too narrow: ±30s windows with 60s cron intervals could
   miss events between runs. Fix: Widen to ±90s. ON CONFLICT DO NOTHING
   prevents duplicates, making wider windows safe.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 20:50:45 +08:00
.claude Added Claude Skills 2026-03-20 15:14:21 +08:00
.github Improve copilot instructions 2026-02-22 21:04:30 +08:00
.vscode chore: remove unused profile lock migration and admin_profile_service 2026-02-18 18:13:10 +08:00
android A more robust self hosted OTA updates implementation 2026-03-13 07:15:28 +08:00
assets OTA Updates for adnroid app and web apk uploader 2026-03-15 19:24:34 +08:00
ios * Workforce, Schedule generation and geofencing. 2026-02-09 22:19:31 +08:00
lib Implement push notification reminder system with 9 notification types 2026-03-20 18:26:48 +08:00
linux platform specific registry 2026-03-07 23:47:18 +08:00
macos OTA Update attempt 2026-03-11 22:28:38 +08:00
supabase Fix push notifications never delivered — 3 root causes 2026-03-20 20:50:45 +08:00
test Allow task completion even if signatories are still empty, put an indicator for completed tasks with incomplete details. 2026-02-24 22:08:53 +08:00
web Face Recognition with Liveness Detection for Web Support 2026-03-08 10:19:03 +08:00
windows A more robust pdf generation > preview > print workflow 2026-02-25 20:59:21 +08:00
.gitignore gitignore 2026-02-09 20:10:13 +08:00
.metadata Initial commit 2026-02-09 20:10:42 +08:00
analysis_options.yaml Initial commit 2026-02-09 20:10:42 +08:00
CLAUDE.md chore: remove unused profile lock migration and admin_profile_service 2026-02-18 18:13:10 +08:00
firebase.json * Push Notification Setup and attempt 2026-02-24 21:06:46 +08:00
GEMINI.md chore: remove unused profile lock migration and admin_profile_service 2026-02-18 18:13:10 +08:00
pubspec.lock No need update check for web 2026-03-12 20:38:19 +08:00
pubspec.yaml No need update check for web 2026-03-12 20:38:19 +08:00
README.md Initial commit 2026-02-09 20:10:42 +08:00
RELEASE_NOTES.md Release notes for alpha v0.0.0.1 2026-02-22 21:02:24 +08:00

tasq

A new Flutter project.