-
Notifications
You must be signed in to change notification settings - Fork 51
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
onExit is not being emitted #134
Comments
From your description I'm assuming you expect a LinkExit event when the user closes the bank popup (marked in red): I assume the LinkExit event is bound to the view with the Link session. Since is an external view it should not trigger the event, according to the documentation: Note that onExit will not be called when Link is destroyed in some other way than closing Link, such as the user hitting the browser back button or closing the browser tab on which the Link session is present. Please correct me if I'm misunderstanding you report, or send me a more complete description with video or pictures of the issue. |
I didn't mean an external view. Here's a video: Screen.Recording.2024-10-08.at.1.34.33.PM.movFrom our side, the Loading State is shown as we never receive the PlaidLinkStateExit from Plaid and as I mentioned before, after debugging we came to the conclusion that Hope this helps and it's clear now. Let me know if you need any other information. |
I have tried in sandbox the same flow and was not able to reproduce the issue. I receive the following exit events:
How are you creating your link token? I created mine with the following options:
|
Hi @jorgefspereira! I'm working on the same project as @SofiaRey. Not sure if this helps, but the event seems to not be emitted when the 'X' button is pressed immediately after the flow opens (without pressing 'continue'). However, if the 'X' is pressed after advancing in the flow, the event is emitted correctly. |
Hi @MauriMiguez, Based on your description, it appears that the problem lies within the Plaid SDK itself rather than being related to the Flutter plugin. To address this effectively, please report the issue through the official Plaid channels, specifically their GitHub repository: https://github.com/plaid I'll keep this issue open so we can both monitor its progress. If you receive any updates or resolutions from the Plaid team, please feel free to share them here. |
Just created an issue on the plaid-node repository since the problem was only happening on the web. plaid/plaid-node#648 |
it is also happing for flutter ios, but not on android. But I only get this issue when the user is done adding accounts and clicks the 'finished' button. When 'finished' is clicked I get the continue loading indicator of death. Since I use the multi-product link flow, my current work around is the following. I wait for the webhook from plaid telling me the link session has ended and I notify the user to execute plaid.close() to close the loading indicator of death. Also tried talking to plaid about it but they referred me here. And this forum is referring us to plaid. So not sure where to go anymore. |
@MauriMiguez Did you figure this out? |
In my project we use Plaid and we encountered an issue:
When triggering the flow to connect a bank account and closing it, it won't send the event of LinkExit
After a quick research and debugging, the issue seems to be in
plaid_flutter_web.dart
asoptions.onExit
is not being execute. Therefore, no event is sent.Hope this helps!
The text was updated successfully, but these errors were encountered: