plaid / plaid-java

Java bindings for Plaid
https://plaid.com/docs
MIT License
131 stars 119 forks source link

usePlaidLink.open(token=null) fails silently #435

Closed Sam-Kruglov closed 2 weeks ago

Sam-Kruglov commented 2 weeks ago
const [linkResult, setLinkResult] = useState<{
    loading: boolean
    errorMessage?: string | null
    errorType?: string | null
  }>({ loading: true })
const { open, ready, error } = usePlaidLink({token: undefined, ...})
if (ready) open()
if (error) return <Err500/> // always null
if (linkResult.loading) return <Spinner/> // showing this forever
phoenixy1 commented 2 weeks ago

This doesn't appear to be related to the plaid-java client library -- if you're having an issue with usePlaidLink.open feel free to file this against https://github.com/plaid/react-native-plaid-link-sdk with this form filled out -- https://github.com/plaid/react-native-plaid-link-sdk/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=

Sam-Kruglov commented 2 weeks ago

You guys should be more proactive when forwarding customers, If you get a bug report, you should take ownership as plaid not as plaid-java. If I forget to come back here you lose that bug report.

https://github.com/plaid/react-native-plaid-link-sdk/issues/728