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

How to handle reload of mobile web app page while in pop-up (tab) link flow #336

Open
gjritter opened this issue Apr 5, 2024 · 0 comments

Comments

@gjritter
Copy link

gjritter commented Apr 5, 2024

In mobile browsers, the plaid link flow opens a second tab where the user authenticates and authorizes plaid to use their bank account. When the OS is low on memory, background tabs may have their state evicted and cause the web app's page to reload when the user finishes the pop-up link flow and reactivates the web app's tab. As a result, the link flow doesn't call the onSuccess callback.

We've tried storing the original link token in local storage, and on page refresh if there's a link token in local storage, we use it when calling usePlaidLink; however, there's still no call to onSuccess in this case.

Is there any mechanism for recovering the user's progress in the pop-up link flow if the web page that called usePlaidLink reloads during the pop-up link flow, so that they don't need to go through the flow again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant