-
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 Plaid modal by updating to latest version of react-native-plaid-link-sdk
/ resolve stashed token issue
#4962
Conversation
CAPTURE_METRICS: lodashGet(Config, 'CAPTURE_METRICS', false), | ||
ONYX_METRICS: lodashGet(Config, 'ONYX_METRICS', false), | ||
CAPTURE_METRICS: lodashGet(Config, 'CAPTURE_METRICS', 'false') === 'true', | ||
ONYX_METRICS: lodashGet(Config, 'ONYX_METRICS', 'false') === 'true', |
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.
Note: These changes are not related, but I noticed my test builds were showing the metrics despite being set to CAPTURE_METRICS=false
in .env
file and decided to fix this here.
react-native-plaid-link-sdk
react-native-plaid-link-sdk
This should be ready for review now |
So... actually.... I'm still experiencing issues on Android on debug builds. Building for release works fine. @yuwenmemon lmk if you need help figuring out how to do this (there is a SO post somewhere). |
Hmm actually it's worse than I thought and also happens in release but inconsistently. |
react-native-plaid-link-sdk
react-native-plaid-link-sdk
/ resolve stashed token issue
Ok, this is ready for a review now. There is still an issue with Plaid that causes the UI to load very slowly and basically makes it seem broken on dev, but I got to the bottom of the worst of the Android issues. Plaid is aware of the issue and working on it - it's related to their web bundle that is getting served via a WebView. But not sure what we can do about this from our end at the moment. A more extreme idea is to create our own native module, but Plaid is also working on that for |
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.
Thanks for working on this @marcaaron! The Plaid modal is opening on Android now! I still see the following error when confirming the account though. Is that part of the issue that Plaid is trying to fix?
Invariant Violation: No callback found with cbID 17868 and callID 8934 for PlaidAndroid.startLinkActivityForResult - most likely the callback was already invoked. Args: '[{"publicToken":"public-sandbox-53eb79a5-bfdd-4aa5-80c7-e45fa0695ed0","metadata":{"metadataJson":"{\"institution\":{\"name\":\"Chase\",\"institution_id\":\"ins_3\"},\"account\":{\"id\":null,\"name\":null,\"type\":nul...(truncated)...","linkSessionId":"0f3901e3-83f7-48b3-8191-e12c818c3247","institution":{"name":"Chase","id":"ins_3"},"accounts":[{"subtype":"checking","type":"depository","mask":"0000","name":"Plaid Checking","id":"jq958bm9a6s5Errllw8AtW3pPd35lWFy9ez3n"},{"subtype":"savings","type":"depository","mask":"1111","name":"Plaid Saving","id":"7Mxb9p5xeNFZ3zzjjDwEhxvDRVv1gxCN3qAGv"}]}}]', js engine: hermes
Can you make sure you have the latest commits? I can try to test again
tomorrow but that error should now be resolved.
…On Wed, Sep 1, 2021, 3:15 PM Carlos Martins ***@***.***> wrote:
***@***.**** commented on this pull request.
Thanks for working on this @marc <https://github.com/marc>! The Plaid
modal is opening on Android now! I still see the following error when
confirming the account though. Is that part of the issue that Plaid is
trying to fix?
Invariant Violation: No callback found with cbID 17868 and callID 8934 for PlaidAndroid.startLinkActivityForResult - most likely the callback was already invoked. Args: '[{"publicToken":"public-sandbox-53eb79a5-bfdd-4aa5-80c7-e45fa0695ed0","metadata":{"metadataJson":"{\"institution\":{\"name\":\"Chase\",\"institution_id\":\"ins_3\"},\"account\":{\"id\":null,\"name\":null,\"type\":nul...(truncated)...","linkSessionId":"0f3901e3-83f7-48b3-8191-e12c818c3247","institution":{"name":"Chase","id":"ins_3"},"accounts":[{"subtype":"checking","type":"depository","mask":"0000","name":"Plaid Checking","id":"jq958bm9a6s5Errllw8AtW3pPd35lWFy9ez3n"},{"subtype":"savings","type":"depository","mask":"1111","name":"Plaid Saving","id":"7Mxb9p5xeNFZ3zzjjDwEhxvDRVv1gxCN3qAGv"}]}}]', js engine: hermes
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#4962 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH3RC72Y7HNPMESAA2MNWCDT73F2JANCNFSM5DFDMLBQ>
.
|
I'll try testing again tomorrow! |
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.
Working flawlessly for me on Android devices, thanks for looking into this. Personally, I've never found the slow loading time to be that problematic, but nice to hear Plaid is looking into improvements anyway.
Just tested again and it's working! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Oh nice! It could be related to my device or internet now that I think about it. Glad to hear it's only slow for me! |
@Julesssss @luacmartins thanks for testing! 🙇 |
🚀 Deployed to staging by @luacmartins in version: 1.0.92-1 🚀
|
@marcaaron @luacmartins Hello! We're currently unable to test this in iOS and Android since we can't navigate to a specific URL in-app This might have to be tested internally or if you know another method please let us know. |
Same answer as here -> #5029 (comment) but please let us know here if that's not going to work! Thanks! |
This issue is failing this PR #5075 |
🚀 Deployed to production by @roryabraham in version: 1.0.93-1 🚀
|
Details
cc @Julesssss @luacmartins
Fixed Issues
$ #4959
Tests AND QA Steps
/bank-account
by selecting the workspace and tapping the "Get Started" buttonuser_good
pass_good
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android