Docs
  • What We Do
  • Supported Countries, Payment Methods, and Cryptocurrencies
  • Getting Started
  • Integration Guides
    • API
      • Required Headers
      • Create a User
      • Assign a Deposit Address
      • KYC
      • Link and Verify a Bank Account
        • Re-link Bank Account
        • Update Bank Account
        • Delete Bank Account
      • Transaction Limits
      • Buy Crypto (ACH)
      • Transaction Monitoring
      • Transaction History
    • React Native
      • Installation
      • Session Token and Wallet Signing
      • Preset Order Details
      • Example
      • Reference
      • Release History
      • User experience
        • Sign up
        • Sign in
        • Buy crypto
        • Settings & activity
    • React JS (Beta)
      • Installation
      • Session Token and Wallet Signing
      • Preset Orders
      • Callbacks
      • Theming
      • Example
      • Reference
      • Release History
  • API Reference
    • Endpoints
      • Auth
        • Crypto Wallet
        • Email OTP
        • SMS OTP
      • Activity
      • Bank
      • Client
      • Config
      • Crypto
      • Users
      • Wallets
      • Webhook Registrations
    • Custom Headers
    • Error Codes
    • Types Glossary
    • Postman
    • Open API Specification
    • Webhooks
  • Design Reference
    • UI/UX Starter kit
    • UI Requirements
  • Guides
    • Sandbox Testing
    • User Authentication
    • Link a new Signing Wallet to an Existing User
    • Plaid Bank Linking
      • Plaid OAuth Support
    • Client Dashboard (Alpha)
  • User Support Reference
    • User Account Flags
      • KYC Review
      • Transaction Processing
      • NSFs and Returned Payments
      • Fraud
    • Transactional Emails
Powered by GitBook
On this page

Was this helpful?

  1. Integration Guides
  2. React Native

Installation

Follow the steps below to install the Ratio React Native Library

PreviousReact NativeNextSession Token and Wallet Signing

Last updated 1 year ago

Was this helpful?

npm install @ratio.me/ratio-react-native-library

or

yarn add @ratio.me/ratio-react-native-library

Peer Dependencies

Our library has a peer dependancy on the following - react-native-webview: "11.x" - react-native-plaid-link-sdk: "9.x" - react-native-svg: "12.x || 13.x"

This means you must add react-native-webview, react-native-svg , and react-native-plaid-link-sdkas dependancies by running the following

npm install react-native-webview --save 
npm install react-native-svg --save
npm install react-native-plaid-link-sdk --save

or

yarn add react-native-webview
yarn add react-native-svg
yarn add react-native-plaid-link-sdk

If your application requires that external traffic is whitelisted, please reach out to us for a list of domains that will need to be whitelisted in your application package. The list includes OAuth connected banks such as Chase.

NOTE: it is important to make sure you use the --save flag, this will make sure the native code is autolinked. Read more about React Native Auto linking

Read more about react-native-webview

Read more about react-native-svg

Read more about react-native-plaid-link-sdk

You must configure the Plaid SDK to work with OAuth. Please follow the steps

here
here
here
here
here