Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD for payment 2024-10-01] [$250] [Android] When App is opened from notification the top safe area is missing #48190

Open
1 of 6 tasks
mountiny opened this issue Aug 28, 2024 · 82 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Monthly KSv2

Comments

@mountiny
Copy link
Contributor

mountiny commented Aug 28, 2024

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: v9.0.25-11
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @shubham1206agra
Slack conversation:

Action Performed:

Break down in numbered steps

  1. [User A] Send a message to user B with chat history
  2. [User B] Open the notification received.

Expected Result:

Describe what you think should've happened

There is a safe padding at the top of the app for status bar

Actual Result:

Describe what actually happened

There is no safe padding

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

You have to close and reopen the app again

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

image

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~015d43274e3d80ec35
  • Upwork Job ID: 1828856156434772354
  • Last Price Increase: 2024-09-18
Issue OwnerCurrent Issue Owner: @puneetlath
@mountiny mountiny added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 28, 2024
Copy link

melvin-bot bot commented Aug 28, 2024

Triggered auto assignment to @francoisl (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Aug 28, 2024

Triggered auto assignment to @puneetlath (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.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Aug 28, 2024
Copy link
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.

@francoisl
Copy link
Contributor

I'm having a hard time running the app in an Android virtual device at the moment, going to open externally to see if anyone can figure it out.

@francoisl francoisl added the External Added to denote the issue can be worked on by a contributor label Aug 28, 2024
Copy link

melvin-bot bot commented Aug 28, 2024

Job added to Upwork: https://www.upwork.com/jobs/~015d43274e3d80ec35

@melvin-bot melvin-bot bot changed the title [Android] When App is opened from notification the top safe area is missing [$250] [Android] When App is opened from notification the top safe area is missing Aug 28, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 28, 2024
Copy link

melvin-bot bot commented Aug 28, 2024

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

@francoisl
Copy link
Contributor

I'm now able to build the app locally in dev, but running into issues getting system notifications to show up at all.

One interesting thing I noticed with the app on my physical device is that I randomly opened it (manually, without tapping a notification), and the top padding was also missing until I killed and reopened the app.

I can't reproduce anymore after closing and reopening the app multiple times though, so I feel like there might be other conditions for this to happen.

@francoisl
Copy link
Contributor

Going to demote as discussed in https://expensify.slack.com/archives/C01GTK53T8Q/p1724857609487429, since we can't consistently reproduce.

@francoisl francoisl added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Aug 29, 2024
@WoLewicki
Copy link
Contributor

I'm now able to build the app locally in dev, but running into issues getting system notifications to show up at all.
One interesting thing I noticed with the app on my physical device is that I randomly opened it (manually, without tapping a notification), and the top padding was also missing until I killed and reopened the app.

@francoisl could you tell if this happened on dev or only on release? I was not able to reproduce it on dev.

@francoisl
Copy link
Contributor

On my physical device? It was a staging release version, at the time 9.0.25-1 (the latest staging version was greater than that, but I guess my phone had not auto-updated the app yet)

Copy link

melvin-bot bot commented Sep 2, 2024

@puneetlath, @francoisl, @jayeshmangwani Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Sep 2, 2024
@jayeshmangwani
Copy link
Contributor

Not Overdue, We're still awaiting proposals here

@puneetlath puneetlath reopened this Oct 10, 2024
@melvin-bot melvin-bot bot added the Overdue label Oct 14, 2024
Copy link

melvin-bot bot commented Oct 15, 2024

@puneetlath, @francoisl, @jayeshmangwani, @perunt Huh... This is 4 days overdue. Who can take care of this?

@puneetlath
Copy link
Contributor

@perunt just checking in. Mind providing an update here?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Oct 15, 2024
@jayeshmangwani
Copy link
Contributor

Hey @perunt , do we have any plans for an upstream fix? Can you please provide an update here?

Copy link

melvin-bot bot commented Oct 21, 2024

@puneetlath, @francoisl, @jayeshmangwani, @perunt Eep! 4 days overdue now. Issues have feelings too...

Copy link

melvin-bot bot commented Oct 23, 2024

@puneetlath, @francoisl, @jayeshmangwani, @perunt 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@jayeshmangwani
Copy link
Contributor

Waiting on an update from Taras. bumped on Slack

Copy link

melvin-bot bot commented Oct 25, 2024

@puneetlath, @francoisl, @jayeshmangwani, @perunt 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

Copy link

melvin-bot bot commented Oct 29, 2024

@puneetlath, @francoisl, @jayeshmangwani, @perunt 12 days overdue. Walking. Toward. The. Light...

@melvin-bot melvin-bot bot removed the Daily KSv2 label Nov 1, 2024
Copy link

melvin-bot bot commented Nov 1, 2024

This issue has not been updated in over 14 days. @puneetlath, @francoisl, @jayeshmangwani, @perunt eroding to Weekly issue.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Overdue labels Nov 1, 2024
@puneetlath
Copy link
Contributor

Bumped in Slack again.

@perunt
Copy link
Contributor

perunt commented Nov 6, 2024

hey guys, quick update. I got a bit sidetracked with integrating the Nitro Module into the app, but I’m aiming to wrap it up by the end of this week and get back to this task. As I mentioned before, some changes were made to one of our libraries that should resolve the issue, and I'll test it once I finish the Contact Module

@melvin-bot melvin-bot bot added the Overdue label Nov 11, 2024
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Nov 25, 2024
Copy link

melvin-bot bot commented Nov 25, 2024

This issue has not been updated in over 15 days. @puneetlath, @francoisl, @jayeshmangwani, @perunt eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@melvin-bot melvin-bot bot removed the Overdue label Nov 25, 2024
@puneetlath
Copy link
Contributor

@perunt any update here?

@perunt
Copy link
Contributor

perunt commented Nov 27, 2024

I just tested it again, and it's reproducible.
I dug deeper and found this section: MainActivity.kt, line 50. Here, we're setting the top padding to zero to avoid jumpy behavior with the splash screen.
Should we spend more time on this and find a consensus between addressing the bug and handling it for the splash screen, or can we stick with replacing the status bar height using the value from react-native-safe-area-context (our current fix that was merged)?

@puneetlath
Copy link
Contributor

I think let's just go with what's easiest. I don't think it's worth spending a lot of time on right now.

@shubham1206agra
Copy link
Contributor

@perunt Btw, I am now able to repro this problem again.

@jayeshmangwani
Copy link
Contributor

Just like Shubham, I am also able to reproduce this issue again in the latest Play Store app.

@perunt
Copy link
Contributor

perunt commented Dec 13, 2024

Can you drop details here? @shubham1206agra @jayeshmangwani

@jayeshmangwani
Copy link
Contributor

@perunt If you’re asking about the steps I followed to reproduce this issue, here they are:

  1. Logged in as User A on an Android device (app is closed).
  2. Sent a message from User B to User A.
  3. User A received a notification and tapped on it.
  4. Upon navigation to the Report Screen, the top area is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Monthly KSv2
Projects
Development

No branches or pull requests

8 participants