Plaid logo
Docs
ALL DOCS

Link

  • Overview
Libraries
  • Web
  • iOS
  • Android
  • React Native
  • Webview
Core Link flows
  • Link Token migration guide
  • OAuth guide
  • Account Select v2 migration guide
  • Update mode
  • Legacy public key integrations
Optimize Link
  • Customizing Link
  • Duplicate Items
  • Returning user experience
  • Link best practices
  • Modular Link (UK/EU only)
Errors and troubleshooting
  • Troubleshooting
  • Handling an invalid Link Token
  • Institution status in Link
Plaid logo
Docs
Plaid.com
Get API keys

5.x to 6.x Migration Guide

Reference for migrating the Link React Native SDK from 5.x to 6.x

React Native Link SDK versions prior to 7.1.1 (released October 2021) will no longer work with the Plaid API as of November 1, 2022. If you are using a version of the React Native Link SDK earlier than 7.1.1, you must upgrade to version 7.1.1 or later before November 1, 2022.

Summary of changes

This article provides a guide on how to upgrade a Plaid integration from the React Native 5.x SDK to the 6.x SDK.

Update Android Versions

Update your Android SDK dependency in your build.gradle file to version 3.0.1 or greater.

1implementation 'com.plaid.link:sdk-core:3.0.1+'

Update iOS Versions

  1. Update your minimum deployment target to 11 or greater

    1platform :ios, '11.0'
  2. Update your Plaid pod dependency to 2.2.2 or greater.

    1pod 'Plaid', '~> 2.2.2'

Update Plaid Component

  • The payment_token prop has been removed so all tokens should be passed through the token prop
  • The oauthStateId prop has been removed and is no longer needed
  • Integrations using link_token must not use the oauthNonce or oauthRedirectUri props

(Optionally) Use the usePlaidEmitter Hook

In order to get onEvent callbacks you may now use the usePlaidEmitter Hook.

1usePlaidEmitter((event) => {
2 console.log(event);
3});
Was this helpful?
Developer community
Github logo
StackOverflow logo
Twitter logo