Socket
Socket
Sign inDemoInstall

@burstware/expo-plaid-link

Package Overview
Dependencies
8
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @burstware/expo-plaid-link

Use the Plaid Link flow inside your expo app.


Version published
Weekly downloads
51
decreased by-47.96%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

NPM

Use the Plaid Link flow inside your expo app.

Installation

yarn add @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 types.ts for data structure format for onEvent (see type LinkEvent), onExit (see type LinkExit), and onSuccess (see type LinkSuccess) function return values.

Demo

  1. git clone git@github.com:burstware/expo-plaid-link.git
  2. Create a file in the root of the project called config.ts with a link token:
export default {
  TEST_LINK_TOKEN: 'link-development-deadbeef-7b58-4877-8b44-123456789abcdef',
}
  1. Update the main entry in package.json to "main": "node_modules/expo/AppEntry.js",
  2. yarn start

FAQs

Last updated on 25 Sep 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc