Skip to content

No notification displayed when app is backgrounded or killed  #5022

Closed

Description

@isagoico

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


Issue is failing PR #3877

Action Performed:

  1. Sign into account A on the Android app. Sign into account B on the web app.
  2. Send a message from account B to account A. It should arrive normally.
  3. Send a reply from account A to account B. It should arrive normally.
  4. As user A, open a different chat, and background the app.
  5. Send a message from B to A

Expected Result:

All notifications should be received.

Actual Result:

Notification is not received when app is backgrounded. This also happens when app is killed. It's not consistent behaviour, it works sometimes and sometimes it doesn't.

Workaround:

Unknown.

Platform:

Where is this issue occurring?

  • iOS
  • Android

Version Number: 1.0.92-0

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Device logs

Bug5220815_Screen_Recording__9-2-2021_2-14-52_PM_.mp4

Expensify/Expensify Issue URL:

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCash
    Daily
    on Sep 2, 2021
  2. MelvinBot commented on Sep 2, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @Julesssss (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  3. added
    Hourly
    and removed
    Daily
    on Sep 2, 2021
  4. OSBotify commented on Sep 2, 2021

    @OSBotify
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  5. roryabraham commented on Sep 2, 2021

    @roryabraham
    Contributor

    Hey @isagoico, I'm very confident that this issue will be addressed in this issue. And the workaround here is to:

    1. Sign into account A on the Android app. Sign into account B on the web app.
    2. Send a message from account B to account A. It should arrive normally.
    3. Send a reply from account A to account B. It should arrive normally.
    4. As user A, open a different chat, and background the app.
    5. (new) Wait an indeterminate amount of time. ~3-5 minutes should do it.
    6. Send a message from B to A. The push notification will appear.

    Anyways, this is a server-side error, not a client error. Going to close this out.

  6. removed
    DeployBlockerCash
    on Sep 2, 2021
  7. kbecciv commented on Feb 2, 2022

    @kbecciv

    IOS/Android - Notification isn't received while app is backgrounded

    Action Performed:

    1. Sign into account A on the Android app. Sign into account B on the web app.
    2. Send a message from account B to account A. It should arrive normally.
    3. Send a reply from account A to account B. It should arrive normally.
    4. As user A, open a different chat, and background the app.
    5. Wait an indeterminate amount of time. ~3-5 minutes should do it.
    6. Send a message from B to A.

    Expected Result:

    All notifications should be received.

    Actual Result:

    Notification is not received when app is backgrounded. it works sometimes and sometimes it doesn't.

    Workaround:

    Unknown.

    Platform:

    Where is this issue occurring?

    • iOS
    • Android

    Version Number: 1.1.34.0

    Logs: https://stackoverflow.com/c/expensify/questions/4856

    Notes/Photos/Videos: Any additional supporting documentation

    Bug5434610_20220202_080529.mp4

    Expensify/Expensify Issue URL:

    View all open jobs on GitHub

  8. reopened this on Feb 2, 2022
  9. Julesssss commented on Feb 2, 2022

    @Julesssss
    Contributor

    Thanks @kbecciv, but this is being handled as a slightly different issue: https://github.com/Expensify/Expensify/issues/174061

  10. rushatgabhane commented on Mar 1, 2022

    @rushatgabhane
    Member

    @Julesssss just curious if this issue has been fixed internally? Because I never get notifications on android 😅
    v1.1.39-3 Production, Pixel 6, Android 12

    (Reinstall doesn't help)

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions