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

Commit

Permalink
bump version and add missing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobrg committed Dec 22, 2022
1 parent 2f74707 commit 171513a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ android {
compileSdk 33
defaultConfig {
minSdk 21
versionCode 1
versionName "0.0.4"
versionCode 2
versionName "0.0.5"
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
12 changes: 11 additions & 1 deletion app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdk.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.runBlocking
import java.util.*

/**
* The TIKI SDK main class. Use this to add tokenized data ownership, consent, and rewards.
*
* @constructor
*
* @param apiId The apiId for connecting to TIKI cloud.
* @param origin The default origin for all transactions.
* @param context The context of the application. Used to initialize Flutter Engine
* @param address The address of the user node in TIKI blockchain. If null a new address will be created.
*/
class TikiSdk(apiId: String, origin: String, context: Context, address: String? = null) {

private var tikiSdkFlutterChannel: TikiSdkFlutterChannel
Expand Down Expand Up @@ -199,7 +209,7 @@ class TikiSdk(apiId: String, origin: String, context: Context, address: String?
* @param destination TikiSdkDestination
* @param origin String?
* @param request () -> Unit
* @param onBlocked () -> Unit
* @param onBlocked ((String) -> Unit)?
*/
fun applyConsent(
source: String,
Expand Down

0 comments on commit 171513a

Please sign in to comment.