6.x to 7.x Migration Guide
Reference for migrating the Link React Native SDK from 6.x to 7.x
This article provides a guide on how to upgrade a Plaid integration from the React Native 6.x SDK to the 7.x SDK.
Update Android versions
In your build.gradle you no longer need to specify the
Update iOS versions
Update your Plaid pod dependency to 2.0.8 or greater.
pod 'Plaid', '~> 2.0.8'
Update Plaid component
PlaidLink is now built with TypeScript!
PlaidLink renders a Pressable
component, which wraps the component you provide and intercepts
onPress events to open Link. Additionally, the
structure of the inputs has changed.
- Pass in all properties using the
- You must not use the
linkLogLevel has been added as an optional parameter, which can be used to output useful debugging information.
Public key integrations
tokenConfig implementations are preferred to the deprecated
You can migrate to a token configuration using the Link Token migration guide.
If you are using the deprecated public key integration, please be aware of these changes:
- Pass in all properties using
producthas been renamed to
envhas been renamed to
oauthStateIdare now encapsulated in
componentPropshave been removed and you may now use
childrento pass in a component.
Update Success, Exit and Event types
The output types for Success, Exit and Event have been unified across Android and iOS.
For a full listing of changes, see the platform-specific migration guides:
For the full API specifications, see the main docs.