Plaid logo
Docs
ALL DOCS

Link

  • Overview
Libraries
  • Web
  • iOS
  • Android
  • React Native
  • Webview
Core Link flows
  • OAuth guide
  • Update mode
  • Preventing duplicate Items
  • Data Transparency Messaging migration
  • Link Token migration guide
  • Legacy public key integrations
  • Account Select v2 migration guide
Optimizing Link
  • Optimizing Link conversion
  • Measuring Link conversion
  • Pre-Link messaging
  • Customizing Link
  • Choosing when to initialize products
  • Returning user experience
  • 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
Open nav

Android Setup

Reference for setting up Android for use with the Link React Native SDK

Android Setup

Register your app id
  1. Log in to the Plaid dashboard and go to Team Settings -> API.
  2. Next to Allowed Android package names, click Configure, then Add New Android Package Name.
  3. Enter your package name, for example com.plaid.example.
  4. Click Save Changes. You may be prompted to re-enter your password.
Add PlaidPackage to your application
  1. Go to android/app/src/main/java/<AppName>/MainApplication.java and
  2. Add import com.plaid.PlaidPackage; to the imports section.
  3. Add packages.add(new PlaidPackage()); to List<ReactPackage> getPackages();.
Configure Gradle
  1. Go to the project level android/app/build.gradle.
  2. Make sure you are using a minsdkversion >= 21.
  3. Add the following dependencies:
Copy
1dependencies {
2 ...
3 implementation project(':react-native-plaid-link-sdk')
  1. Go to android/settings.gradle.
  2. Add the following lines:
Copy
1include ':react-native-plaid-link-sdk'
2project(':react-native-plaid-link-sdk').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-plaid-link-sdk/android')

Now your React Native application is linked to the Plaid React Native SDK for Android development. Next Open Link.

Was this helpful?
Developer community
GitHub
GitHub
Stack Overflow
Stack Overflow
YouTube
YouTube
Twitter
Twitter
Discord
Discord