Plaid logo
Docs
ALL DOCS

Link

  • Overview
Libraries
  • Web
  • iOS
  • Android
  • React Native
  • Webview
Core Link flows
  • OAuth guide
  • Remember Me
  • Update mode
  • Preventing duplicate Items
  • Data Transparency Messaging migration
  • Link Token migration guide
  • Legacy public key integrations
Optimizing Link
  • Optimizing Link conversion
  • Measuring Link conversion
  • Pre-Link messaging
  • Customizing Link
  • Choosing when to initialize products
  • Embedded institution search
  • Returning user experience
  • Modular Link (UK/EU only)
Errors and troubleshooting
  • Troubleshooting
  • Handling an invalid Link Token
  • Institution status in Link
Plaid logo
Docs
Close search modal
Ask Bill!
Ask Bill!
Hi! I'm Bill! You can ask me all about the Plaid API. Try asking questions like:
    Note: Bill isn't perfect. He's just a robot platypus that reads our docs for fun. You should treat his answers with the same healthy skepticism you might treat any other answer on the internet. This chat may be logged for quality and training purposes. Please don't send Bill any PII -- he's scared of intimacy. All chats with Bill are subject to Plaid's Privacy Policy.
    Plaid.com
    Log in
    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 Developers -> 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:
    1dependencies {
    2 ...
    3 implementation project(':react-native-plaid-link-sdk')
    1. Go to android/settings.gradle.
    2. Add the following lines:
    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
    Discord
    Discord