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 2023-12-29] Android - Distance - Location permission prompt reappears after declining it #32121

Closed
1 of 6 tasks
kbecciv opened this issue Nov 28, 2023 · 22 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@kbecciv
Copy link

kbecciv commented Nov 28, 2023

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: 1.4.4.0
Reproducible in staging?: y
Reproducible in production?: new feature
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: Applause - Internal Team
Slack conversation:
Issue found when executing PR #30506

Action Performed:

Precondition:

  • The device used is a Samsung device with Android 12.
  • App location permission is reset.
  1. Launch New Expensify app.
  2. Tap + > Request money > Distance.
  3. Don't allow location access.
  4. Wait for a while.

Expected Result:

Location permission prompt will not reappear.

Actual Result:

Location permission prompt appears again.

Workaround:

Unknown

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

Bug6293229_1701179208961.Screen_Recording_20231128_142647_Permission_controller.mp4

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Nov 28, 2023
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.

Copy link

melvin-bot bot commented Nov 28, 2023

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

@flodnv
Copy link
Contributor

flodnv commented Nov 28, 2023

Pinged @neil-marcellini here in Slack since he's been working on this feature

@neil-marcellini
Copy link
Contributor

Here is the PR that caused this Automatically pan initial map based on current location. It's not reproducible on production because this is a new feature. I don't think it's a significant enough issue to be worth blocking deploy. If you agree I'll remove the label. Let's start looking into a fix regardless.

@flodnv
Copy link
Contributor

flodnv commented Nov 28, 2023

Reassigning to @thienlnam as per the Slack discussion

@thienlnam
Copy link
Contributor

@MaciejSWM is going to be looking into this - likely will get around to it tommorow

@MaciejSWM
Copy link
Contributor

@thienlnam a draft PR created.

It’s a draft so far. Let me highlight that I didn’t try to replicate the real issue, I only presented a possible solution to what I think might be the issue. Feel free to continue exploring based on my PR and present the final solution if this bug is urgent, or let me know if I should investigate and present the final fix tomorrow

@thienlnam
Copy link
Contributor

@MaciejSWM Have you had a chance to get back to this yet?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Dec 5, 2023
@thienlnam
Copy link
Contributor

Bump @MaciejSWM

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Dec 8, 2023
@thienlnam
Copy link
Contributor

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Dec 12, 2023
Copy link

melvin-bot bot commented Dec 15, 2023

@thienlnam, @MaciejSWM Whoops! This issue is 2 days overdue. Let's get this updated quick!

@MaciejSWM
Copy link
Contributor

Reproduced on physical Android. The exact issue presented above is not reproducible, only after some minor changes in the code. What is reproducible though is that when I land on Distance tab and deny access, then go to other tab and then back to Distance, then I get asked for the second time. Fixing both those issues with one change. PR soon.

@melvin-bot melvin-bot bot removed the Overdue label Dec 15, 2023
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Dec 15, 2023
@MaciejSWM
Copy link
Contributor

@thienlnam PR is ready for review

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Dec 22, 2023
@melvin-bot melvin-bot bot changed the title Android - Distance - Location permission prompt reappears after declining it [HOLD for payment 2023-12-29] Android - Distance - Location permission prompt reappears after declining it Dec 22, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 22, 2023
Copy link

melvin-bot bot commented Dec 22, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Dec 22, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.15-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-12-29. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

  • @MaciejSWM does not require payment (Contractor)

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Dec 28, 2023
Copy link

melvin-bot bot commented Jan 2, 2024

@thienlnam, @MaciejSWM Eep! 4 days overdue now. Issues have feelings too...

@thienlnam
Copy link
Contributor

Assigning s77rt for C+ review payment

@thienlnam thienlnam added the Bug Something is broken. Auto assigns a BugZero manager. label Jan 2, 2024
Copy link

melvin-bot bot commented Jan 2, 2024

Triggered auto assignment to @isabelastisser (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Copy link

melvin-bot bot commented Jan 2, 2024

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@thienlnam
Copy link
Contributor

Here's the PR #33157

We just need a payment to C+ s77rt for reviewing
The contributor that handled the changes is from SWM

@isabelastisser
Copy link
Contributor

@s77rt I sent you an offer in Upwork.

All set!

@s77rt
Copy link
Contributor

s77rt commented Jan 3, 2024

@isabelastisser Accepted! I think the payment due here is $500

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. Daily KSv2 Engineering
Projects
None yet
Development

No branches or pull requests

7 participants