-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix displaying LHN instead Expensify uses Plaid to connect account #31614
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Few notes:
|
@s77rt The connect bank account functionality is disabled for offline mode ( the button is hidden ) . I just didn’t know whether to check it in this case or not . |
Please fix the offline test steps. As for CLA check #31614 (comment) |
I have read the CLA Document and I hereby sign the CLA |
What do you mean by saying "fix the offline test steps". Should I remove the checkbox from the checklist or should I do something else ? |
You need to write an accurate testing steps. If we are expected not to see the "Connect bank account" button then it does not make sense to have a step that mentions to click on it. Those steps are done by the QA team, if any step fail a new issue will be created which could be a false positive if the steps are not accurate. |
@s77rt I made the necessary changes. Can you please check if there is anything left to fix ? |
import Log from '@libs/Log'; | ||
import CONST from '@src/CONST'; | ||
import {plaidLinkDefaultProps, plaidLinkPropTypes} from './plaidLinkPropTypes'; | ||
|
||
function PlaidLink(props) { | ||
useDeepLinkRedirector(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useDeepLinkRedirector
was removed from react-native-plaid-link-sdk
since it's no longer needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. There is not such hook in new version and it is not need. It is mentioned in plaid link official doc
@shahinyan11 Please add missing screenshots/videos |
I added videos for both android and IOS . This case may not happen on other platforms because it related changing application state. Changing to background and then returning to foreground is native app behavior only. |
Each change should be tested on all the platforms. For the remaining platforms you can show that the Plaid flow is still working. You can do so by using the plaid sandbox info: username: user_good and password: pass_good To use plaid sandbox make sure you are using the staging server i.e. go to Preference and enable the staging server switch |
I did not understand this well. How is |
To add bank account using plaid you will have to supply real information. Or you can just use the plaid sandbox and use test credentials to add the bank account. (the process is the same, to use the sandbox you will just have to enable staging switch in preferences) |
But I didn't authenticate in plaid link account around this issue before. What steps I should do after auth in plaid link account to get the video you want ? |
This is needed to be sure that Plaid is still working and can be used to add bank accounts. Video will be something like that: Screen.Recording.2023-11-21.at.3.50.51.PM.mov |
Now should I change uploaded videos for android and IOS too. Or I can add such video only for other platforms ? |
Just add those videos for the missing platforms |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemweb-chrome.moviOS: Nativeios.moviOS: mWeb Safarimweb-safari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
@shahinyan11 In the testings steps please add a note that the steps are only for native. |
Encode it to a lower resolution |
@s77rt Is there another account ? |
is it directed at me ? If yes I did not understand where I should run this |
@shahinyan11 You should not delete |
This reverts commit 4785c97. rever updating package-lock.json
But the |
@s77rt You did not answer to this |
@shahinyan11 I see |
@s77rt my repo is forked. And there is not any changes when I pull |
@s77rt I did it. But I see in checks that the license/synk is still failed . Is it mean that something still wrong ? |
@shahinyan11 I don't know for sure but does not seem related. Robert will check and let you know if anything is needed from your side. |
@s77rt @robertjchen Is not there any news ? |
@robertjchen looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
Known issue with Snyk license check: https://expensify.slack.com/archives/C01GTK53T8Q/p1700498232891239 |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.5-7 🚀
|
Details
Android - LHN is displayed instead Expensify uses Plaid to connect your account
Fixed Issues
$ #30617
PROPOSAL: #30617 (comment)
Tests
The steps only for Android: Native and IOS: Native
Offline tests
The "Connect bank account" is not available for offline mode
QA Steps
The steps only for Android: Native and IOS: Native
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2023-11-21.at.14.56.46.mov
Android: mWeb Chrome
2023-11-22.22.30.03.mp4
iOS: Native
Screen.Recording.2023-11-21.at.16.55.20.mov
iOS: mWeb Safari
Screen.Recording.2023-11-22.at.21.24.17.mov
MacOS: Chrome / Safari
Screen.Recording.2023-11-21.at.19.18.02.mov
MacOS: Desktop
Screen.Recording.2023-11-21.at.22.11.58.mov