Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #151 from tiki/release/2.1.3
Browse files Browse the repository at this point in the history
Release/2.1.3
  • Loading branch information
ricardobrg authored Apr 13, 2023
2 parents 4bb1ab5 + 7e6753b commit 90812fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
ext.flutterEngine = "1.0.0-1837b5be5f0f1376a1ccf383950e83a80177fb4e"
ext.sdkVersion = "2.1.3"
ext.sdkVersion = "2.1.4"
ext.markwon_version = "4.6.2"
repositories {
mavenCentral()
Expand All @@ -22,8 +22,8 @@ android {
compileSdk 33
defaultConfig {
minSdk 21
versionCode 6
versionName "2.1.2"
versionCode 8
versionName "2.1.3"
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
10 changes: 5 additions & 5 deletions app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdk.kt
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ object TikiSdk {
val titleReq = ReqTitle(ptr, tags, description, origin)
val rspTitleCompletable: CompletableDeferred<String> =
coreChannel!!.invokeMethod(
CoreMethod.LICENSE, titleReq.toJson()
CoreMethod.TITLE, titleReq.toJson()
)
return MainScope().async {
val rspTitleString: String = rspTitleCompletable.await()
Expand All @@ -495,7 +495,7 @@ object TikiSdk {
val titleReq = ReqTitleGet(id, origin)
val rspTitleCompletable: CompletableDeferred<String> =
coreChannel!!.invokeMethod(
CoreMethod.LICENSE, titleReq.toJson()
CoreMethod.GET_TITLE, titleReq.toJson()
)
return MainScope().async {
val rspTitleJson = rspTitleCompletable.await()
Expand Down Expand Up @@ -523,7 +523,7 @@ object TikiSdk {
val licenseReq = ReqLicenseGet(id, origin)
val rspLicenseCompletable: CompletableDeferred<String> =
coreChannel!!.invokeMethod(
CoreMethod.LICENSE, licenseReq.toJson()
CoreMethod.GET_LICENSE, licenseReq.toJson()
)
return MainScope().async {
val rspLicenseJson: String = rspLicenseCompletable.await()
Expand Down Expand Up @@ -552,7 +552,7 @@ object TikiSdk {
val licenseReq = ReqLicenseAll(ptr, origin)
val rspLicenseCompletable: CompletableDeferred<String> =
coreChannel!!.invokeMethod(
CoreMethod.LICENSE, licenseReq.toJson()
CoreMethod.ALL, licenseReq.toJson()
)
return MainScope().async {
val rspLicenseJson: String = rspLicenseCompletable.await()
Expand All @@ -578,7 +578,7 @@ object TikiSdk {
val licenseReq = ReqLicenseLatest(ptr, origin)
val rspLicenseCompletable: CompletableDeferred<String> =
coreChannel!!.invokeMethod(
CoreMethod.LICENSE, licenseReq.toJson()
CoreMethod.LATEST, licenseReq.toJson()
)
return MainScope().async {
val rspLicenseJson: String = rspLicenseCompletable.await()
Expand Down

0 comments on commit 90812fb

Please sign in to comment.