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

[$1000] iOS - 2FA - 2FA displayed enabled after disabling it offline #21431

Closed
3 of 6 tasks
lanitochka17 opened this issue Jun 23, 2023 · 12 comments
Closed
3 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@lanitochka17
Copy link

lanitochka17 commented Jun 23, 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!


Issue found when executing PR #20738

Action Performed:

Precondition - 2FA is enabled in account

  1. Open iOS app
  2. Go to Security tab
  3. Open 2FA tab
  4. Go offline
  5. Tap “Disable 2FA”
  6. Tap “Disable”
  7. Go online
  8. Tap “Got it”
  9. Tap 2FA again
  10. Return back to LHN
  11. Proceed back to 2FA tab

Expected Result:

At steps 8 & 10 2FA are displayed disabled

Actual Result:

At step 8 2FA is still displayed enabled
At step 10 2FA is displayed disabled

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.31.3

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Notes/Photos/Videos: Any additional supporting documentation

IMG_8216.MP4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0119f93f050052723a
  • Upwork Job ID: 1674051567935217664
  • Last Price Increase: 2023-06-28
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jun 23, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 23, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 23, 2023

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

@abekkala
Copy link
Contributor

@lanitochka17 Can you complete these sections:

Expected Result:

Describe what you think should've happened

Actual Result:

Describe what actually happened

@lanitochka17
Copy link
Author

@abekkala Sorry for the confusion. Added information.

@melvin-bot melvin-bot bot added the Overdue label Jun 26, 2023
@abekkala
Copy link
Contributor

discussing this in slack

@melvin-bot melvin-bot bot removed the Overdue label Jun 26, 2023
@abekkala abekkala added the External Added to denote the issue can be worked on by a contributor label Jun 28, 2023
@melvin-bot melvin-bot bot changed the title iOS - 2FA - 2FA displayed enabled after disabling it offline [$1000] iOS - 2FA - 2FA displayed enabled after disabling it offline Jun 28, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 28, 2023

Job added to Upwork: https://www.upwork.com/jobs/~0119f93f050052723a

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 28, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 28, 2023

Current assignee @abekkala is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jun 28, 2023

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

@Pujan92
Copy link
Contributor

Pujan92 commented Jun 28, 2023

May be dupe of #21568

@abekkala
Copy link
Contributor

@Pujan92 this one was created first so if anything - that other one would be considered the dupe.

@Pujan92
Copy link
Contributor

Pujan92 commented Jun 28, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

2FA "Disable Authentication" page comes up again if we navigate back to the page in Offline mode

What is the root cause of that problem?

As we are not blocking the View when the user is offline causing the issue.

What changes do you think we should make in order to solve the problem?

We should wrap the ScrollView with the FullPageOfflineBlockingView component, which will show the offline blocking View to the user and not allow to disabling the 2FA in offline mode.

Result
Screen.Recording.2023-06-27.at.7.10.38.PM.mov

#21568 (comment)

@thesahindia
Copy link
Member

Let's close this. @0xmiroslav has already reviewed the proposal at #21568

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

4 participants