/tiny-quickstart-expo

A port of the RN tiny-quickstart Plaid demo app to expo

Primary LanguageRust

This is a port of the React Native Tiny Quickstart demo to an expo (CNG) app.

Build and Run

Setup

$ yarn setup --clean

Start the server

Environment variables:

export PLAID_CLIENT_ID=<client_id>
export PLAID_SECRET=<plaid_secret>
export PLAID_ENV=sandbox
export PLAID_SANDBOX_REDIRECT_URI=https://cdn-testing.plaid.com/link/v2/stable/sandbox-oauth-a2a-react-native-redirect.html
export PLAID_ANDROID_PACKAGE_NAME=<android package name>
export PLAID_VERSION=2020-09-14
export DATABASE_URL=<database-url>
 $ RUST_LOG=info cargo run --release --bin server -- \
    --database-url <url> \
    --plaid-env sandbox \
    --plaid-client-id <client-id> \
    --plaid-secret <secret> \
    --plaid-redirect-uri <redirect-url-for-ios> \
    --plaid-android-package-name <android-package-name-for-android>

Start the app

$ yarn android

or

$ yarn ios