App: HIGH: [API Reliability] Android: `GetMissingOnyxMessages` is not called in the background

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: N/A Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers): N/A Logs: N/A Expensify/Expensify Issue URL: Issue reported by: @arosiclair Slack conversation: N/A

Action Performed:

  1. Add yourself as a workspace member
  2. Kill the app
  3. Remove yourself from the workspace (this creates some missed onyx updates)
  4. Send yourself a DM
  5. Push notification received
  6. The app wakes up in the background
  7. A gap is detected and ONYX_UPDATES_FROM_SERVER gets set in Onyx to fill the gap

Expected Result:

The callback for ONYX_UPDATES_FROM_SERVER runs and calls the GetMissingOnyxMessages API in the background

Actual Result:

The callback does NOT run until the app is reopened

Workaround:

N/A

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~011415a3700cdef632
  • Upwork Job ID: 1775605339418427392
  • Last Price Increase: 2024-04-03

About this issue

  • Original URL
  • State: closed
  • Created 3 months ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Closing, reopen if you disagree.

Woohoo!