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:
- Add yourself as a workspace member
- Kill the app
- Remove yourself from the workspace (this creates some missed onyx updates)
- Send yourself a DM
- Push notification received
- The app wakes up in the background
- 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
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)
Closing, reopen if you disagree.
Woohoo!