From 0a8bf776611f32839b5db04253cced0179ee8024 Mon Sep 17 00:00:00 2001 From: Ejay Torres Date: Mon, 11 Mar 2024 11:15:23 +0800 Subject: [PATCH] Updated Direct Tap Version to 4.4.0 --- app/build.gradle | 2 +- .../main/java/com/brankas/testapp/activity/MainActivity.kt | 3 ++- sdk docs/changelog.md | 6 ++++++ sdk docs/readme.md | 6 +++--- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 38f88e4..98fa968 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -75,7 +75,7 @@ dependencies { implementation 'io.reactivex.rxjava3:rxandroid:3.0.2' implementation "androidx.security:security-crypto:1.1.0-alpha06" - implementation "com.brankas.tap:direct-tap:4.3.0" + implementation "com.brankas.tap:direct-tap:4.4.0" implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2' implementation 'com.github.bumptech.glide:glide:4.12.0' diff --git a/app/src/main/java/com/brankas/testapp/activity/MainActivity.kt b/app/src/main/java/com/brankas/testapp/activity/MainActivity.kt index 8ca512f..37a07b1 100644 --- a/app/src/main/java/com/brankas/testapp/activity/MainActivity.kt +++ b/app/src/main/java/com/brankas/testapp/activity/MainActivity.kt @@ -531,7 +531,8 @@ class MainActivity : FragmentActivity() { CoreListener { override fun onResult(data: String?, error: CoreError?) { error?.let { - Toast.makeText(this@MainActivity, it.errorMessage, Toast.LENGTH_LONG).show() + Toast.makeText(this@MainActivity, "${it.errorCode.getCode()} " + + "- ${it.errorCode.getErrorMessage()}", Toast.LENGTH_LONG).show() } } diff --git a/sdk docs/changelog.md b/sdk docs/changelog.md index ddb9b29..5ef1906 100644 --- a/sdk docs/changelog.md +++ b/sdk docs/changelog.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## 4.4.0 - 2024-03-06 + +### Changed + +- Error Code Mapping (Updated Error Code upon Checkout) + ## 4.3.0 - 2024-02-01 ### Added diff --git a/sdk docs/readme.md b/sdk docs/readme.md index f50d9e2..092e24a 100644 --- a/sdk docs/readme.md +++ b/sdk docs/readme.md @@ -1,6 +1,6 @@ # Direct Tap SDK for Android *** -*Version:* 4.3.0 +*Version:* 4.4.0 *** @@ -71,10 +71,10 @@ This set of instructions assumes that the IDE being used is Android Studio ``` **NOTE: You can use any GitHub Account in filling up the credentials** -2. In your app build.gradle file, add this line inside the dependencies configuration: **implementation "com.brankas.tap:direct-tap:4.3.0"** to set the SDK as a dependency for the application. This should look like: +2. In your app build.gradle file, add this line inside the dependencies configuration: **implementation "com.brankas.tap:direct-tap:4.4.0"** to set the SDK as a dependency for the application. This should look like: ````gradle dependencies { - implementation "com.brankas.tap:direct-tap:4.3.0" + implementation "com.brankas.tap:direct-tap:4.4.0" } ````