burstware / expo-plaid-link

Use the Plaid Link flow inside your expo app
MIT License
35 stars 21 forks source link

Error with query string parser #10

Open nandorojo opened 3 years ago

nandorojo commented 3 years ago

The query string parser is incorrect for the onSuccess callback. It returns a list of accounts, which is correct, but they have _id fields, rather than id fields. It seems like the regex function to parse the query param isn't splitting by _, or something like that. Plaid expects id, so it isn't working. For now, I'll solve it by changing _id to id myself.

Thanks again for the useful lib! I'm using it with an RN Modal. Super easy setup.

Now we just need Plaid to add an Expo config plugin to get the native library to work with Expo SDK 41...

JBaczuk commented 2 years ago

@nandorojo Thanks for creating this ticket.