Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

fetchKycInBrowser: postMessage doesn't work if the form is multi-page #127

Open
morleyzhi opened this issue Nov 19, 2019 · 0 comments
Open
Labels
bug Something isn't working

Comments

@morleyzhi
Copy link
Contributor

Right now, fetchKycInBrowser attaches a postMessage event listener only when the iframe is initialized. But this is a problem if the interactive flow has multiple pages: a second page load will no longer have the onMessage listener.

Some options:

  • Set the listener someplace other than the interior window context
  • Constantly re-check that the event listener is in place
@morleyzhi morleyzhi added the bug Something isn't working label Nov 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant