Package Exports
- react-native-plaid-authenticator
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-plaid-authenticator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React Native Plaid Authenticator

Since Plaid.com doesn't have support for React Native and a lot o devs asked for an implementation, I've built this lib that adds support for Plaid authentication using a Webview and Plaid Link
Usage
API
| Prop | Type | defaultValue |
|---|---|---|
| publicKey (required) | string |
|
| onMessage (required) | function |
|
| env (required) | string |
|
| product (required) | string |
|
| clientName | string |
|
| webhook | string |
http://batman.codes |
| style | object |
{} |
render() {
return <PlaidAuthenticator
onMessage={this.onMessage}
publicKey="YOUR_PLAID_PUBLIC_KEY"
env="sandbox"
product="auth,transactions"
clientName="Catalin Miron"
/>
}
onMessage = (data) => {
this.setState({data})
}Returned data object
{
"action": "plaid_link-undefined::connected",
"metadata": {
"account": {
"id": null,
"name": null
},
"account_id": null,
"public_token": "public-sandbox-e697e666-9ac2-4538-b152-7e56a4e59365",
"institution": {
"name": "Chase",
"institution_id": "ins_3"
}
}
}For more information please read their docs
| Status | Description |
|---|---|
| connected | User completed the Link flow |
| requires_questions | User prompted to answer security question(s) |
| requires_selections | User prompted to answer multiple choice question(s) |
| requires_code | User prompted to provide a one-time passcode |
| choose_device | User prompted to select a device on which to receive a one-time passcode |
| requires_credentials | User prompted to provide credentials for the selected financial institution or has not yet selected a financial institution |
| institution_not_found | User exited the Link flow after unsuccessfully (no results returned) searching for a financial institution |
For Sandbox mode the credentials are:
username: user_good
password: pass_goodGet your plaid API key
- Go to Plaid dashboard and
Sign in.
- Add Plaid to your app

- Copy your Plaid public_key
Questions?
Feel free to contact me:
Twitter: @mironcatalin Website: http://batman.codes