Indemnity83 / expo-plaid-link

Use the Plaid Link flow inside your expo app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expo Plaid Link

NPM Slack

Use the Plaid Link flow inside your expo app.

Installation

expo install @burstware/expo-plaid-link

Usage

import React from 'react'
import PlaidLink from '@burstware/expo-plaid-link'
import Config from './config'

export default function App() {
  return (
    <PlaidLink
      linkToken={Config.TEST_LINK_TOKEN}
      onEvent={(event) => console.log(event)}
      onExit={(exit) => console.log(exit)}
      onSuccess={(success) => console.log(success.publicToken)}
    />
  )
}

See const.js for data structure format for onEvent (see type LinkEvent), onExit (see type LinkExit), and onSuccess (see type LinkSuccess) function return values.

About

Use the Plaid Link flow inside your expo app

License:MIT License


Languages

Language:JavaScript 100.0%