iOS Setup
Reference for setting up iOS for use with the Link React Native SDK
iOS Setup
Add Plaid
to your project’s Podfile as follows (likely located at ios/Podfile
). The latest version is .
iOS SDK versions prior to 4.1.0 (released January 2023) will no longer support Chase OAuth flows as of June 30, 2023. If you are using an older version of the iOS SDK, make sure to upgrade before that date.
1pod 'Plaid', '~> <insert latest version>'
Then install your CocoaPods dependencies:
1(cd ios && pod install)
That's all you need to do if using a recent react-native version with autolinking support. To begin coding your integration, see Opening Link.
Manual Integration
If using a version of react-native without autolinking support, then you will need to:
1react-native link react-native-plaid-link-sdk
followed by:
- In Xcode, in the Project Navigator, right click Libraries ▶ Add Files to [your project's name]
- Go to node_modules ▶ react-native-plaid-link-sdk ▶ ios and add RNLinksdk.xcodeproj
- In Xcode, in the project navigator, select your project. Add
libRNLinksdk.a
to your project's Build Phases ▶ Link Binary With Libraries - Run your project (
Cmd+R
).
Now your React Native application is linked to the Plaid React Native SDK for iOS development. To begin coding your integration, see Opening Link.
OAuth Setup
All Plaid integrations are required to support OAuth; for full details on OAuth support, see the OAuth guide. OAuth support on iOS requires the following client-side configuration:
- Redirect URIs must be registered and set up as universal links. For more details, see register your redirect URI.