From ab373a57cdce1bacd8202565c079e405c56884bc Mon Sep 17 00:00:00 2001 From: amytang0 Date: Mon, 16 Nov 2020 17:44:44 -0800 Subject: [PATCH 1/3] ANDROID: Update to v3.2.0 --- app/build.gradle | 2 +- .../com/plaid/linksample/network/LinkTokenRequester.kt | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 3dc4fa1..8daeba5 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -22,7 +22,7 @@ android { } dependencies { - implementation "com.plaid.link:sdk-core:3.1.1" + implementation "com.plaid.link:sdk-core:3.2.0" implementation "androidx.appcompat:appcompat:1.2.0" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" diff --git a/app/src/main/java/com/plaid/linksample/network/LinkTokenRequester.kt b/app/src/main/java/com/plaid/linksample/network/LinkTokenRequester.kt index 642cf80..57e5cb8 100644 --- a/app/src/main/java/com/plaid/linksample/network/LinkTokenRequester.kt +++ b/app/src/main/java/com/plaid/linksample/network/LinkTokenRequester.kt @@ -1,7 +1,6 @@ package com.plaid.linksample.network -import io.reactivex.android.schedulers.AndroidSchedulers -import io.reactivex.schedulers.Schedulers +import io.reactivex.Single import okhttp3.OkHttpClient import retrofit2.Retrofit import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory @@ -34,8 +33,8 @@ object LinkTokenRequester { .map { it.link_token } //Comment out the above and uncomment the below to use a curled Link Token - //val token - // get() = Single.just("") + val token + get() = Single.just(") } From d2d76365db51a00ea4545722f6d7082a9430b00b Mon Sep 17 00:00:00 2001 From: amytang0 Date: Mon, 16 Nov 2020 17:46:10 -0800 Subject: [PATCH 2/3] uncomment --- .../java/com/plaid/linksample/network/LinkTokenRequester.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/plaid/linksample/network/LinkTokenRequester.kt b/app/src/main/java/com/plaid/linksample/network/LinkTokenRequester.kt index 57e5cb8..e296c60 100644 --- a/app/src/main/java/com/plaid/linksample/network/LinkTokenRequester.kt +++ b/app/src/main/java/com/plaid/linksample/network/LinkTokenRequester.kt @@ -33,8 +33,8 @@ object LinkTokenRequester { .map { it.link_token } //Comment out the above and uncomment the below to use a curled Link Token - val token - get() = Single.just(") + //val token + // get() = Single.just("">) } From 8998788cfad2f266bf3905064dfc242c715014ec Mon Sep 17 00:00:00 2001 From: amytang0 Date: Mon, 16 Nov 2020 17:47:40 -0800 Subject: [PATCH 3/3] Add Single --- .../java/com/plaid/linksample/network/LinkTokenRequester.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/plaid/linksample/network/LinkTokenRequester.kt b/app/src/main/java/com/plaid/linksample/network/LinkTokenRequester.kt index e296c60..95ba1aa 100644 --- a/app/src/main/java/com/plaid/linksample/network/LinkTokenRequester.kt +++ b/app/src/main/java/com/plaid/linksample/network/LinkTokenRequester.kt @@ -1,5 +1,7 @@ package com.plaid.linksample.network +import io.reactivex.android.schedulers.AndroidSchedulers +import io.reactivex.schedulers.Schedulers import io.reactivex.Single import okhttp3.OkHttpClient import retrofit2.Retrofit @@ -34,7 +36,7 @@ object LinkTokenRequester { //Comment out the above and uncomment the below to use a curled Link Token //val token - // get() = Single.just("">) + // get() = Single.just("") }