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-02-07] [HOLD for payment 2024-02-07] [$500] Android - Wallet - App crashes on tapping enable wallet. #35344

Closed
1 of 6 tasks
lanitochka17 opened this issue Jan 30, 2024 · 31 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff

Comments

@lanitochka17
Copy link

lanitochka17 commented Jan 30, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.33
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: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Launch app
  2. Tap profile icon
  3. Tap Wallet
  4. Tap Enable Wallet

Expected Result:

App must not crash on tapping enable wallet

Actual Result:

App crashes on tapping enable wallet

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

Bug6360254_1706571770350.az_recorder_20240130_041035.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0165d2a9876eb54d92
  • Upwork Job ID: 1752165534277464064
  • Last Price Increase: 2024-01-30
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Jan 30, 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.

Copy link

melvin-bot bot commented Jan 30, 2024

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

@marcaaron
Copy link
Contributor

@lanitochka17 can you confirm that this only happens on Android?

@marcaaron
Copy link
Contributor

Possibly related to plaid/react-native-plaid-link-sdk#620

Going to try to bump the Plaid version and see if that helps.

@marcaaron
Copy link
Contributor

It works locally for me with the bumped version. I have to roll out now though so if someone can raise the PR and test that would be great. This is what we need to update:

"react-native-plaid-link-sdk": "10.12.0"

@marcaaron marcaaron added the External Added to denote the issue can be worked on by a contributor label Jan 30, 2024
@melvin-bot melvin-bot bot changed the title Android - Wallet - App crashes on tapping enable wallet. [$500] Android - Wallet - App crashes on tapping enable wallet. Jan 30, 2024
Copy link

melvin-bot bot commented Jan 30, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0165d2a9876eb54d92

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 30, 2024
Copy link

melvin-bot bot commented Jan 30, 2024

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

@tienifr
Copy link
Contributor

tienifr commented Jan 30, 2024

@marcaaron I'm happy to take this and raise the PR

Proposal

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

App crashes on tapping enable wallet

What is the root cause of that problem?

We have outdated Plaid version. This is potentially related to this Plaid issue and they already roll out a new version to fix it, but we didn't update the version in our repo.

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

We need to update the react-native-plaid-link-sdk version to 10.12.0 as specified here

What alternative solutions did you explore? (Optional)

If there's no reason to avoid 11.x Plaid lib version, we can also upgrade to v11.4.0

@francoisl
Copy link
Contributor

Works for me, though regarding this bit specifically:

What alternative solutions did you explore? (Optional)
If there's no reason to avoid 11.x Plaid lib version, we can also upgrade to v11.4.0

The potential risk of updating to a new major version would be that there could be breaking changes that we'd need to work out.
In the short/medium, yes we should absolutely update to 11.4, but for this blocker it might be safer to upgrade to 10.12. (Just my 2¢)

@marcaaron
Copy link
Contributor

Agree with @francoisl

@marcaaron marcaaron added Internal Requires API changes or must be handled by Expensify staff and removed External Added to denote the issue can be worked on by a contributor labels Jan 30, 2024
@marcaaron
Copy link
Contributor

Sorry I thought someone would have fixed this by now. But since not I'll raise the PR myself.

Copy link

melvin-bot bot commented Jan 30, 2024

Current assignee @getusha is eligible for the Internal assigner, not assigning anyone new.

@mkhutornyi
Copy link
Contributor

Proposal

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

Android app crashes on plaid flow on release build

What is the root cause of that problem?

crash

This is regression from #34218 which enabled proguard in release build

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

We should add below lines to proguard-rules.pro file:

# Keep generic signature of Call, Response (R8 full mode strips signatures from non-kept items). 
 -keep,allowobfuscation,allowshrinking interface retrofit2.Call 
 -keep,allowobfuscation,allowshrinking class retrofit2.Response 
  
 # With R8 full mode generic signatures are stripped for classes that are not 
 # kept. Suspend functions are wrapped in continuations where the type argument 
 # is used. 
 -keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation 

@francoisl francoisl added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Weekly KSv2 labels Jan 31, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jan 31, 2024
@melvin-bot melvin-bot bot changed the title [$500] Android - Wallet - App crashes on tapping enable wallet. [HOLD for payment 2024-02-07] [$500] Android - Wallet - App crashes on tapping enable wallet. Jan 31, 2024
Copy link

melvin-bot bot commented Jan 31, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 31, 2024
Copy link

melvin-bot bot commented Jan 31, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.33-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 2024-02-07. 🎊

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

  • @getusha requires payment (Needs manual offer from BZ)
  • @mkhutornyi requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Jan 31, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jan 31, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-02-07] [$500] Android - Wallet - App crashes on tapping enable wallet. [HOLD for payment 2024-02-07] [HOLD for payment 2024-02-07] [$500] Android - Wallet - App crashes on tapping enable wallet. Jan 31, 2024
Copy link

melvin-bot bot commented Jan 31, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.34-1 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 2024-02-07. 🎊

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

  • @getusha requires payment (Needs manual offer from BZ)
  • @mkhutornyi requires payment (Needs manual offer from BZ)

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 6, 2024
Copy link

melvin-bot bot commented Feb 7, 2024

Issue is ready for payment but no BZ is assigned. @sakluger you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

Copy link

melvin-bot bot commented Feb 7, 2024

Payment Summary

Upwork Job

BugZero Checklist (@sakluger)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1752165534277464064/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@sakluger
Copy link
Contributor

sakluger commented Feb 7, 2024

@getusha @mkhutornyi I sent offers to both of you via Upwork.

@getusha
Copy link
Contributor

getusha commented Feb 7, 2024

@sakluger not able to accept the offer

Screenshot 2024-02-07 at 8 14 12 PM

@sakluger
Copy link
Contributor

sakluger commented Feb 7, 2024

Weird, it says I withdrew the offer. Sorry about that, I sent you a new one @getusha.

@sakluger
Copy link
Contributor

sakluger commented Feb 8, 2024

@getusha please let me know once you've accepted the offer, thanks 🙇

@getusha
Copy link
Contributor

getusha commented Feb 8, 2024

@sakluger accepted thank you! :)

@sakluger
Copy link
Contributor

sakluger commented Feb 8, 2024

Thanks! All paid 🙇

@sakluger sakluger closed this as completed Feb 8, 2024
@mkhutornyi
Copy link
Contributor

@sakluger I haven't received payment. Can you please check?

@sakluger
Copy link
Contributor

sakluger commented Mar 1, 2024

Sorry @mkhutornyi! I completed your payment now.

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 Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

7 participants