[BUG] Investigate failing notification checks
Notification checks are failing. Investigate the cause, determine which notification paths are affected, and fix the verified issue.
Investigation
[ ] Capture the exact error, reproduction steps, app version, build variant, and relevant device conditions.
[ ] Determine whether failures affect the in-app inbox, unread-count checks, background phone notifications, or multiple paths.
[ ] Check behavior in the foreground, background, after app restart, and after session restoration.
[ ] Check whether failures correlate with connectivity changes, rate limits, expired sessions, or notification permissions.
[ ] Inspect scheduling, cancellation, overlapping checks, and account changes.
[ ] Distinguish expected cancellation from a failed notification check.
[ ] Identify the root cause using reproducible evidence.
Expected behavior
[ ] Successful checks update notification state consistently.
[ ] Temporary failures preserve usable notification data and permit recovery.
[ ] Authentication failures follow the existing session-recovery policy.
[ ] Rate limits respect provider guidance without retry or polling bursts.
[ ] Failed checks do not incorrectly mark notifications as read.
[ ] Recovery does not duplicate phone notifications or discard valid pending notifications.
[ ] Sign-out and account changes cancel old-account work and isolate notification state.
[ ] User-facing errors accurately describe the failure and available recovery action.
Diagnostics and validation
[ ] Keep diagnostics bounded and exclude tokens, account IDs, private content, query variables, and response bodies.
[ ] Add regression coverage for the verified root cause.
[ ] Test relevant offline, timeout, rate-limit, authentication, and cancellation paths.
[ ] Verify request counts and check scheduling remain bounded.
[ ] Document any remaining device-specific verification steps.
[ ] Update notification/API documentation if behavior changes.
Evidence to attach
[ ] Exact error text or screenshot.
[ ] Steps and approximate time of occurrence.
[ ] App version and build variant.
[ ] Device model and Android version.
[ ] Whether the app was foregrounded or backgrounded.
[ ] Whether the inbox and phone notifications still worked.
Comments1
orbit
Nov 15
Issue was battery optimization settings for the app. Adding a warning in notification settings