Skip to content

Commit

Permalink
Merge pull request #114 from plaid/ANDROID/enableOAuth
Browse files Browse the repository at this point in the history
ANDROID: Enable OAuth use with quickstart
  • Loading branch information
amytang0 authored Nov 4, 2020
2 parents de3b1e7 + dfe6a1e commit e1db2ab
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ android {
}

dependencies {
implementation "com.plaid.link:sdk-core:3.1.0"
implementation "com.plaid.link:sdk-core:3.1.1"

implementation "androidx.appcompat:appcompat:1.2.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ object LinkTokenRequester {
.observeOn(AndroidSchedulers.mainThread())
.map { it.link_token }

// Comment out the above and uncomment the below to use a curled Link Token
// val token
// get() = Single.just("<GENERATED_LINK_TOKEN>")
//Comment out the above and uncomment the below to use a curled Link Token
//val token
// get() = Single.just("<GENERATED_LINK_TOKEN>")

}

11 changes: 11 additions & 0 deletions start_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,22 @@ npm install
# initializing Link, see plaid.com/docs/faq/#does-plaid-support-international-bank-accounts-
# for a complete list

if [ -z "$1" ]
then
echo "Client id must be supplied"
fi

if [ -z "$2" ]
then
echo "Client secret must be supplied"
fi

PLAID_CLIENT_ID=$1 \
PLAID_SECRET=$2 \
PLAID_ENV='sandbox' \
PLAID_PRODUCTS='transactions' \
PLAID_COUNTRY_CODES='US' \
PLAID_ANDROID_PACKAGE_NAME='com.plaid.linksample' \
node index.js

# Go to http://localhost:8000

0 comments on commit e1db2ab

Please sign in to comment.