Skip to content

Commit

Permalink
Bump plugin version to 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorasl committed Sep 7, 2023
1 parent 4be3f78 commit f7d57af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'

implementation 'com.argyle:argyle-link-android:5.0.0'
implementation 'com.argyle:argyle-link-android:5.3.0'

testImplementation 'junit:junit:4.13.2'
}
3 changes: 0 additions & 3 deletions app/src/main/java/com/argyleexample/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import com.argyle.LinkConfig
import com.argyleexample.databinding.MainActivityBinding

// TODO: Replace with real values
private const val LINK_KEY = "YOUR_LINK_KEY" // Get it from https://console.argyle.com/link-key
private const val USER_TOKEN = "YOUR_USER_TOKEN" // Should be fetched and provided by your own backend API https://docs.argyle.com/guides/reference/users
private const val SANDBOX = true

Expand All @@ -30,7 +29,6 @@ class MainActivity : AppCompatActivity() {
private fun startLink() {
val linkConfig = LinkConfig(
sandbox = SANDBOX,
linkKey = LINK_KEY,
userToken = USER_TOKEN
).apply {
// accountId = "USER_ACCOUNT_ID" // Specify to take the user directly to the account
Expand All @@ -52,7 +50,6 @@ class MainActivity : AppCompatActivity() {
onDDSSuccess = { toast("onDDSSuccess") }
onDocumentsSubmitted = { toast("onDocumentsSubmitted") }
onError = { toast("onError") }
onExitIntroClicked = { toast("onExitIntroClicked") }
onFormSubmitted = { toast("onFormSubmitted") }
onUIEvent = { toast("onUIEvent") }
}
Expand Down

0 comments on commit f7d57af

Please sign in to comment.