Skip to content

[$250] Android - push notifications are not processed on receipt #64952

Closed

Description

@arosiclair

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: 9.1.71-4.
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): All
Logs: N/A
Expensify/Expensify Issue URL: N/A
Issue reported by: @arosiclair
Slack conversation (hyperlinked to channel name): quality

Action Performed:

  1. Log into HybridApp Android
  2. Enable push notifications permission
  3. Send a DM to your account

Expected Result:

A push notification is received and the following is logged

[PushNotification] Applying onyx data in the foreground

Actual Result:

The push notification received and there is no log. Instead the log appears only after selecting the push notification.

Workaround:

None

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • 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/~021937981812095327937
  • Upwork Job ID: 1937981812095327937
  • Last Price Increase: 2025-06-25
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @arosiclair

Activity

  1. self-assigned this
    on Jun 25, 2025
  2. added
    Daily
    Bug
    on Jun 25, 2025
  3. melvin-bot commented on Jun 25, 2025

    @melvin-bot

    Triggered auto assignment to @garrettmknight (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  4. arosiclair commented on Jun 25, 2025

    @arosiclair
    ContributorAuthor

    I last reproduced this when testing #64338. Atm, I'm not receiving push notifications in the Android emulator so I can't retest.

  5. garrettmknight commented on Jun 25, 2025

    @garrettmknight
    Contributor

    Reprod in browserstack on 9.1.71-4.

  6. added
    External
    on Jun 25, 2025
  7. changed the title [-]Android - push notifications are not processed on receipt[/-] [+][$250] Android - push notifications are not processed on receipt[/+] on Jun 25, 2025
  8. melvin-bot commented on Jun 25, 2025

    @melvin-bot
  9. added
    Help Wanted
    on Jun 25, 2025
  10. melvin-bot commented on Jun 25, 2025

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha (External)

  11. removed
    External
    on Jun 25, 2025
  12. 50 remaining items

  13. arosiclair commented on Jul 17, 2025

    @arosiclair
    ContributorAuthor

    I posted two sets of PRs for review

    1. Fixes for background refresh on iOS and Android
    2. Adding soft kill testing button

    Once these are merged. I'll go ahead and update the new regression tests and send those over to Applause.

  14. melvin-bot commented on Jul 22, 2025

    @melvin-bot

    @arosiclair Huh... This is 4 days overdue. Who can take care of this?

  15. arosiclair commented on Jul 23, 2025

    @arosiclair
    ContributorAuthor

    Alright everything is merged! Background refresh fixes were deployed in v9.1.84-4. And the soft kill button just hit staging v9.1.85-2.

  16. arosiclair commented on Jul 23, 2025

    @arosiclair
    ContributorAuthor

    Regression tests

    Android & iOS - Foreground push notification update

    1. Log into HybridApp iOS/Android
    2. Switch to the new experience
    3. Enable push notifications
    4. Enable the Force offline toggle
    5. Send a DM to the current account
    6. Verify
      • A push notification is received
      • the new message appears in the LHN
      • the message appears in the chat

    Android & iOS - Background push notification update

    1. Log into HybridApp iOS/Android
    2. Switch to the new experience
    3. Enable push notifications
    4. Settings > Troubleshoot > Soft kill the app
    5. Send a DM to the current account
    6. Verify a push notification is received
    7. Wait 1 minute
    8. Enable airplane mode
    9. Reopen the app
    10. Verify
      • the new message appears in the LHN
      • the message appears in the chat

    Note: This is a known flakey test. If this doesn't work, wait 30 minutes and try again

  17. arosiclair commented on Jul 23, 2025

    @arosiclair
    ContributorAuthor

    I missed a couple things here. I think we'll have to wait for that to deploy and then I'll pass the tests to Applause.

  18. arosiclair commented on Jul 28, 2025

    @arosiclair
    ContributorAuthor

    Retested and opened https://github.com/Expensify/Expensify/issues/530226 to add regression tests

  19. melvin-bot commented on Jul 31, 2025

    @melvin-bot

    @arosiclair Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  20. arosiclair commented on Aug 1, 2025

    @arosiclair
    ContributorAuthor

    I'll finish the last steps in the QA issue. Looks like @allgandalf was already paid in this issue, so this is all done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyInternal

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions