1.x to 2.x Migration Guide
Reference for migrating the Link Android SDK from 1.x to 2.x
The 2.x release is an overhaul of the SDK's API to simplify integration and align it with the iOS SDK.
- The content provider is no longer necessary. Instead, call
Plaid.initialize(application)to initialize the SDK
PlaidOptionshas been removed, instead pass
PlaidLinkResultHandlerno longer requires a request code
onCancelledcallback has been removed, all exit events will be returned in
- Adds support for Account Subtype filtering
- Kotlin functions have been added for a more semantic API
- Several object and field names have been adjusted
For an example demonstrating how to migrate from the 1.x to 2.x SDK, see a sample migration on GitHub.